Headers
Unix timestamp (seconds since epoch) of when the webhook was sent - compatible with webhook-timestamp
Base64 encoded Ed25519 signature for webhook verification - compatible with webhook-signature
Body
application/json
Example:
{
"record_type": "event",
"event_type": "call.recording.error",
"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",
"result": "Internal server error"
}
}Response
200
The server must return an HTTP 200, otherwise we will reattempt delivery at the failover webhook URL.