Call recording saved
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.
{
"data": {
"record_type": "event",
"event_type": "call.recording.saved",
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"occurred_at": "2018-02-02T22:25:27.521992Z",
"payload": {
"connection_id": "7267xxxxxxxxxxxxxx",
"call_leg_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"call_session_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"recording_started_at": "2018-02-02T22:20:27.521992Z",
"recording_ended_at": "2018-02-02T22:20:27.521992Z",
"channels": "single",
"recording_urls": {
"mp3": "http://example.com/recording.mp3",
"wav": "http://example.com/recording.wav"
},
"public_recording_urls": {
"mp3": "http://example.com/recording.mp3",
"wav": "http://example.com/recording.wav"
}
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
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
Body
Show child attributes
Show child attributes
{ "record_type": "event", "event_type": "call.recording.saved", "id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0", "occurred_at": "2018-02-02T22:25:27.521992Z", "payload": { "connection_id": "7267xxxxxxxxxxxxxx", "call_leg_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1", "call_session_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1", "client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d", "recording_started_at": "2018-02-02T22:20:27.521992Z", "recording_ended_at": "2018-02-02T22:20:27.521992Z", "channels": "single", "recording_urls": { "mp3": "http://example.com/recording.mp3", "wav": "http://example.com/recording.wav" }, "public_recording_urls": { "mp3": "http://example.com/recording.mp3", "wav": "http://example.com/recording.wav" } } }
Response
The server must return an HTTP 200, otherwise we will reattempt delivery at the failover webhook URL.
Was this page helpful?
{
"data": {
"record_type": "event",
"event_type": "call.recording.saved",
"id": "0ccc7b54-4df3-4bca-a65a-3da1ecc777f0",
"occurred_at": "2018-02-02T22:25:27.521992Z",
"payload": {
"connection_id": "7267xxxxxxxxxxxxxx",
"call_leg_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"call_session_id": "428c31b6-7af4-4bcb-b7f5-5013ef9657c1",
"client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
"recording_started_at": "2018-02-02T22:20:27.521992Z",
"recording_ended_at": "2018-02-02T22:20:27.521992Z",
"channels": "single",
"recording_urls": {
"mp3": "http://example.com/recording.mp3",
"wav": "http://example.com/recording.wav"
},
"public_recording_urls": {
"mp3": "http://example.com/recording.mp3",
"wav": "http://example.com/recording.wav"
}
}
}
}