Skip to content

transcript.final

POST

Live: a final transcript line of a call in progress (the caller’s, the assistant’s, an agent’s or a transfer party’s). data.object is the same line, with the same line_id, as on the live transcript stream: upsert lines by it (a line can come again with a longer text when the caller goes on speaking). Opt-in: sent only to endpoints that name this type; * and transcript.* don’t include it.

webhook-id
required
string

The event ID (evt_…); the same on every retry. Deduplicate on it.

Example
evt_3fT9kq2ZpLr8YwVbN1cX0a
webhook-timestamp
required
string

Unix seconds of this delivery attempt. Reject deliveries more than 5 minutes old.

Example
1762161262
webhook-signature
required
string

Space-separated v1,<base64 HMAC-SHA256> signatures of <webhook-id>.<webhook-timestamp>.<body> with the endpoint secret (two while a secret rotates).

Example
v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=
Media typeapplication/json

Live: a final transcript line of a call in progress (the caller’s, the assistant’s, an agent’s or a transfer party’s). data.object is the same line, with the same line_id, as on the live transcript stream: upsert lines by it (a line can come again with a longer text when the caller goes on speaking). Opt-in: sent only to endpoints that name this type; * and transcript.* don’t include it.

object
api_version
required

The API version the payload is rendered in (the endpoint’s pinned version).

string
created
required

An ISO-8601 timestamp in UTC.

string format: date-time
data
required

object is the object the transcript.final event is about.

object
object
required

One final line of the call’s live transcript: the same object, with the same line_id, as transcript.final on the live transcript stream. New optional properties may be added.

object
call_id

The call (call_…). Always present.

string
>= 1 characters /^call_[0-9A-Za-z]+$/
channel

How the call came in or went out: phone, web or whatsapp (new channels may be added: treat an unknown value as other).

string
Allowed values: phone web whatsapp
end_ms
Any of:
integer
<= 9007199254740991
final

true once the line is complete (transcript.final), false on a partial. Always present.

boolean
interrupted

The caller cut the assistant off; text is what was heard. Always present.

boolean
language

The call’s language (BCP 47): its configured language, then the one a flow switched it to; null when unknown. Always present.

string | null
line_id

The line’s stable ID: ln_ and 24 hex characters, unique within its call, opaque (don’t parse it or sort by it). Every partial and the final of one line carry the same line_id, on the live streams and on the transcript.final webhook: upsert lines by it. A later message of a line supersedes the earlier one (a final replaces its partials; when the caller goes on speaking before the reply, the line gets a new final with the longer text). Always present.

string
/^ln_[0-9a-f]{24}$/
participant

Who spoke, on a call with more than two parties (speaker_id: stable within the call, display name, role: agent = our side, client = the customer side, ai).

object
name
required
string
role
required
string
Allowed values: agent client ai
speaker_id
required
string
role

The internal role the line came from (user, client, assistant, agent, supervisor, external). Prefer speaker.

string
sentiment

The customer’s sentiment on this line (final customer lines, with segment sentiment on). Partials and the other speakers’ lines have none.

object
label
required

negative, neutral or positive: the scale of the call summary’s sentiment (a single line is never mixed).

string
Allowed values: negative neutral positive
score
required

-1 (very negative) to 1 (very positive); 0 when the line carries no sentiment cue.

number
>= -1 <= 1
sources

On an assistant’s final line, with turn tracing on: what the answer came from (your knowledge-base documents); empty when it used none. Only your own documents.

Array<object>

Something an assistant turn’s answer came from.

object
id
required

Its ID (kbd_… for a knowledge-base document).

string
/^kbd_[0-9A-Za-z]+$/
type
required

What the turn used. kb_document: a document of your knowledge base (GET /v1/kb/documents/{id}). New types may be added.

string
Allowed values: kb_document
speaker

Who spoke: customer (the caller), assistant (the AI), agent (a human agent), supervisor (whisper or barge-in; on the streams only, never on the webhook) or external (a transfer party). Always present.

string
Allowed values: customer assistant agent external
start_ms
Any of:
integer
<= 9007199254740991
text

What was said; for a partial, what was said so far. The assistant’s delivery tags are not included. Always present.

string
tool_call_ids

On an assistant’s final line, with turn tracing on: the tools the assistant called during that turn, in order; empty when none.

Array<string>
utterance_id

The line’s key within the current leg of the call. Kept for compatibility: use line_id, which also stays unique across transfers and handovers.

string
key
additional properties
previous_attributes

For *.updated-style events: the changed attributes’ previous values.

object
key
additional properties
id
required

The event ID. Receivers deduplicate on it (it is also the webhook-id header).

string
/^evt_[0-9A-Za-z]+$/
livemode
required

true in live mode, false in test mode.

boolean
object
required
string
Allowed value: event
org_id
required

The organisation the event belongs to.

string
/^org_[0-9A-Za-z]+$/
request
object
id
required
Any of:

The API request that caused the event (its X-Request-Id), if any.

string
/^req_[0-9A-Za-z]+$/
idempotency_key
required

That request’s Idempotency-Key, if any.

string | null
type
required
string
Allowed value: transcript.final
Example
{
"api_version": "2026-11-01",
"created": "2026-11-03T09:14:22.000Z",
"data": {
"object": {
"call_id": "call_8tRPaZp5hLMbrGqdJ9AmNa",
"end_ms": 5310,
"final": true,
"interrupted": false,
"language": "en-US",
"line_id": "ln_5d41402abc4b2a76b9719d91",
"role": "user",
"speaker": "customer",
"start_ms": 4120,
"text": "Hi, where is my order?",
"utterance_id": "u1"
}
},
"id": "evt_3fT9kq2ZpLr8YwVbN1cX0a",
"livemode": true,
"object": "event",
"org_id": "org_0000000000000000000001",
"request": {
"id": null,
"idempotency_key": null
},
"type": "transcript.final"
}

Acknowledge the event with any 2xx status within 15 seconds. Anything else, or a timeout, is retried for up to 72 hours.