Skip to main content
WEBHOOK
callReferFailed
{
  "data": {
    "record_type": "event",
    "event_type": "call.refer.failed",
    "id": "fbeb70e0-54eb-4e26-8d19-56b43e66f754",
    "occurred_at": "2020-03-30T13:29:42.130013Z",
    "payload": {
      "call_control_id": "v2:OycMASgvIjsGIAVEx8x3n9rYeKnUJx6a3V8VGhs5futnr17KZhujZA",
      "call_leg_id": "817f7de8-728a-11ea-9ce6-02420a0f8969",
      "call_session_id": "817f8c2a-728a-11ea-9cbe-02420a0f8969",
      "client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
      "connection_id": "1289082222292239760",
      "from": "+35319605860",
      "sip_notify_response": 603,
      "to": "+13129457420"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

telnyx-timestamp
integer<int64>
required

Unix timestamp (seconds since epoch) of when the webhook was sent - compatible with webhook-timestamp Unix timestamp for replay attack prevention

telnyx-signature-ed25519
string
required

Base64 encoded Ed25519 signature for webhook verification - compatible with webhook-signature Ed25519 signature of timestamp|payload for verification

Body

application/json
data
object
Example:
{
  "record_type": "event",
  "event_type": "call.refer.failed",
  "id": "fbeb70e0-54eb-4e26-8d19-56b43e66f754",
  "occurred_at": "2020-03-30T13:29:42.130013Z",
  "payload": {
    "call_control_id": "v2:OycMASgvIjsGIAVEx8x3n9rYeKnUJx6a3V8VGhs5futnr17KZhujZA",
    "call_leg_id": "817f7de8-728a-11ea-9ce6-02420a0f8969",
    "call_session_id": "817f8c2a-728a-11ea-9cbe-02420a0f8969",
    "client_state": "aGF2ZSBhIG5pY2UgZGF5ID1d",
    "connection_id": "1289082222292239760",
    "from": "+35319605860",
    "sip_notify_response": 603,
    "to": "+13129457420"
  }
}

Response

200

The server must return an HTTP 200, otherwise we will reattempt delivery at the failover webhook URL.