Skip to content

Generate recording summary

Request

Returns immediately. summaryToneId comes from GET /v1/callRecordings/summaryTones for this account. status ready means this body includes the summary already stored for that tone. status processing means generation was queued; poll GET /v1/callRecordings/?id={recordingId} until summary.toneId matches the requested tone.

Security
bearerAuth(Required scopes: inbox.recordings:write) or oauth2(Required scopes: inbox.recordings:write)
Headers
Idempotency-Keystring, <= 255 characters^[\x21-\x7e]{1,255}$

Optional. A unique value of your own, up to 255 printable characters without spaces — a UUID is ideal. The first request carrying it is processed; any later request with the same key returns that first response instead of repeating the work, for 24 hours. A replayed response carries Idempotency-Replayed: true. Reuse the key when you retry after a timeout, and change it when you mean to send again.

Bodyapplication/jsonrequired
idstring^[0-9a-fA-F]{24}$required
Example:"507f1f77bcf86cd799439011"
chatIdstring^[0-9a-fA-F]{24}$required
Example:"507f1f77bcf86cd799439012"
summaryToneIdstring^[0-9a-fA-F]{24}$required

Id from GET /v1/callRecordings/summaryTones. The tone must belong to this account.

Example:"507f1f77bcf86cd799439013"
curl -i -X POST \
  https://developer.iclosed.io/_mock/openapi/uinbox/v1/modules/call-recordings/v1/callRecordings/generateSummary \
  -H 'Authorization: Bearer <YOUR_API key_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: string' \
  -d '{
    "id": "507f1f77bcf86cd799439011",
    "chatId": "507f1f77bcf86cd799439012",
    "summaryToneId": "507f1f77bcf86cd799439013"
  }'

Responses

Cached summary, or an accepted generation job

Bodyapplication/json
dataobjectrequired
Any of:
Response
{ "data": { "status": "ready", "summary": { "toneId": "507f1f77bcf86cd799439013", "content": "Agreed Thursday at 3pm.", "generatedAt": "2026-03-15T15:10:00.000Z" }, "transcript": [ { "speaker": "Alex", "text": "Thursday works.", "time": "00:01:20" } ] } }