Update call summary
curl --request PATCH \
--url https://api.withallo.com/v2/api/conversations/items/{id}/summary \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday."
}
'import requests
url = "https://api.withallo.com/v2/api/conversations/items/{id}/summary"
payload = { "content": "# Summary
Customer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday." }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: '# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.'
})
};
fetch('https://api.withallo.com/v2/api/conversations/items/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.withallo.com/v2/api/conversations/items/{id}/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'content' => '# Summary
Customer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.withallo.com/v2/api/conversations/items/{id}/summary"
payload := strings.NewReader("{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.withallo.com/v2/api/conversations/items/{id}/summary")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/conversations/items/{id}/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cll-abc123",
"content": "# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.",
"version": 4,
"updated_at": "2026-05-12T14:32:11",
"updated_by": {
"id": "usr-abc123",
"name": "Alex Kim"
}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Conversations
Update call summary
Replace the markdown content of a call’s AI-generated summary.
Only call items have summaries — passing an SMS ID (msg-*) returns 400 INVALID_ITEM_ID. If multiple completed summary templates exist on the same call, set template_key to disambiguate.
PATCH
/
v2
/
api
/
conversations
/
items
/
{id}
/
summary
Update call summary
curl --request PATCH \
--url https://api.withallo.com/v2/api/conversations/items/{id}/summary \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday."
}
'import requests
url = "https://api.withallo.com/v2/api/conversations/items/{id}/summary"
payload = { "content": "# Summary
Customer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday." }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: '# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.'
})
};
fetch('https://api.withallo.com/v2/api/conversations/items/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.withallo.com/v2/api/conversations/items/{id}/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'content' => '# Summary
Customer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.withallo.com/v2/api/conversations/items/{id}/summary"
payload := strings.NewReader("{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.withallo.com/v2/api/conversations/items/{id}/summary")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.withallo.com/v2/api/conversations/items/{id}/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"content\": \"# Summary\\n\\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "cll-abc123",
"content": "# Summary\n\nCustomer asked about pricing for the Pro plan and confirmed a follow-up call next Tuesday.",
"version": 4,
"updated_at": "2026-05-12T14:32:11",
"updated_by": {
"id": "usr-abc123",
"name": "Alex Kim"
}
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"retryable": true,
"request_id": "<string>",
"retry_after_seconds": 123
}
}Required scope:
CONVERSATIONS_WRITEmsg-*) returns 400 INVALID_ITEM_ID.
Choosing a template
Most calls have a single completed summary, sotemplate_key can be omitted. When a call has more than one completed summary (e.g., both MARKDOWN_CLASSIC and MARKDOWN_SHORT_CALL), template_key is required — otherwise the request fails with 400 SUMMARY_TEMPLATE_KEY_REQUIRED.
| Template | Use case |
|---|---|
MARKDOWN_CLASSIC | Full structured summary with sections |
MARKDOWN_SHORT_CALL | One-paragraph summary for short calls |
template_key, the request returns 404 SUMMARY_TEMPLATE_NOT_FOUND.
Error codes
| Code | Status | When |
|---|---|---|
INVALID_ITEM_ID | 400 | The ID prefix isn’t cll- |
INVALID_REQUEST_BODY | 400 | content is missing or exceeds 100,000 characters |
SUMMARY_TEMPLATE_KEY_REQUIRED | 400 | The call has multiple completed templates and template_key was omitted |
CONVERSATION_ITEM_NOT_FOUND | 404 | The call doesn’t exist or the API key’s owner has no access to it |
SUMMARY_TEMPLATE_NOT_FOUND | 404 | No completed summary exists for the requested template_key |
Authorizations
Path Parameters
Call ID (cll-*)
Example:
"cll-abc123"
Body
application/json
Response
Updated summary
Show child attributes
Show child attributes
Was this page helpful?
⌘I