This webhook uses Telnyx headers (telnyx-timestamp, telnyx-signature-ed25519) that are compatible with Standard Webhooks specification for SDK generation. Custom validation logic can map these to standard webhook-timestamp and webhook-signature equivalents. See https://github.com/standard-webhooks/standard-webhooks for details.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unix timestamp (seconds since epoch) of when the webhook was sent - compatible with webhook-timestamp Unix timestamp for replay attack prevention
Base64 encoded Ed25519 signature for webhook verification - compatible with webhook-signature Ed25519 signature of timestamp|payload for verification
Show child attributes
Identifies the type of the resource.
event "event"
The type of event being delivered.
call.conversation.ended "call.conversation.ended"
Unique identifier for the event.
"0ccc7b54-4df3-4bca-a65a-3da1ecc777f0"
ISO 8601 datetime of when the event occurred.
"2018-02-02T22:25:27.521992Z"
Timestamp when the event was created in the system.
"2025-05-29T13:35:38.927621Z"
Show child attributes
Unique identifier of the assistant involved in the call.
"assistant-d9082b56-ba2d-4ad1-a50c-58661eb1463d"
Call ID used to issue commands via Call Control API.
"v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg"
Call Control App ID (formerly Telnyx connection ID) used in the call.
"7267xxxxxxxxxxxxxx"
ID that is unique to the call leg.
"cc29cce6-3c91-11f0-a8e5-02420aef3d20"
ID that is unique to the call session (group of related call legs).
"cc29c8d6-3c91-11f0-aa7c-02420aef3d20"
Base64-encoded state received from a command.
"g3QAAAACbQAAAAtkYXRhX2NlbnRlcm0AAAADY2gxbQAAAApkZXBsb3ltZW50bQAAAARiYXNl"
The type of calling party connection.
pstn, sip "sip"
ID unique to the conversation or insight group generated for the call.
"0424805b-adc1-4ff8-9f95-e1de6883ecbe"
Duration of the conversation in seconds.
3
The caller's number or identifier.
"+13124287921"
The callee's number or SIP address.
"jamesw@assistant-d9082b56-ba2d-4ad1-a50c-58661eb1463d.sip.telnyx.com"
The large language model used during the conversation.
"openai/gpt-4o"
The speech-to-text model used in the conversation.
"distil-whisper/distil-large-v2"
The text-to-speech provider used in the call.
"telnyx"
The model ID used for text-to-speech synthesis.
"Natural"
Voice ID used for TTS.
"Marissa"
{
"record_type": "event",
"event_type": "call.conversation.ended",
"id": "eb8775a6-634f-48b0-b177-d5465a8a8e9f",
"occurred_at": "2025-05-29T13:35:38.817785Z",
"created_at": "2025-05-29T13:35:38.927621Z",
"payload": {
"assistant_id": "assistant-d9082b56-ba2d-4ad1-a50c-58661eb1463d",
"call_control_id": "v3:HDR1vQHx697hpP9xZ0bhlbUOWPFPDtPcxw-nuSMuC6mGVpb0euoklQ",
"call_leg_id": "cc29cce6-3c91-11f0-a8e5-02420aef3d20",
"call_session_id": "cc29c8d6-3c91-11f0-aa7c-02420aef3d20",
"calling_party_type": "sip",
"client_state": "g3QAAAACbQAAAAtkYXRhX2NlbnRlcm0AAAADY2gxbQAAAApkZXBsb3ltZW50bQAAAARiYXNl",
"connection_id": "2694492062593582591",
"conversation_id": "0424805b-adc1-4ff8-9f95-e1de6883ecbe",
"duration_sec": 3,
"from": "+13124287921",
"to": "jamesw@assistant-d9082b56-ba2d-4ad1-a50c-58661eb1463d.sip.telnyx.com",
"llm_model": "openai/gpt-4o",
"stt_model": "distil-whisper/distil-large-v2",
"tts_model_id": "Natural",
"tts_provider": "telnyx",
"tts_voice_id": "Marissa"
}
}The server must return an HTTP 200, otherwise we will reattempt delivery at the failover webhook URL.
Was this page helpful?