Skip to main content
WEBHOOK
Fires when an outbound message fails to deliver. The failure_reason field tells you why. Some failures are permanent (opted-out recipient, invalid number); others are transient and you may retry them.

failure_reason codes

See Error Reference, Messaging-layer errors for the full list of failure_reason values and remediation guidance. Common codes:

Authorizations

Authorization
string
header
required

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

Body

application/json
account_id
string
required

The ID of the account in which this event occurred

data
object
required

The data associated with the event

timestamp
string<date-time>
required

The timestamp when this event occurred, in ISO8601 format

type
string
required

The type of the event. Always message.failed for this event.

Allowed value: "message.failed"

Response

200

Return a 200 status to indicate that the data was received successfully