Skip to main content
WEBHOOK
messageFailed
{
  "account_id": "acct_01japd271aeatb7txrzr2xj8sg",
  "data": {
    "attachments": [],
    "body": "Dude, I almost had you!",
    "conversation": {
      "contact": {
        "first_name": "Dominic",
        "id": "ctc_01ja88cboqffhswjx8zbak3ykk",
        "last_name": "Toretto",
        "phone_number": "+18015551234"
      },
      "id": "cnv_01jav8xy7fe4nsay3c9deqxge9",
      "phone_number": {
        "id": "pn_01jsjwe4d9fx3tpymgtg958d9w",
        "number": "+18015556789",
        "type": "local"
      }
    },
    "failed_at": "2024-10-21T23:29:42Z",
    "failure_reason": "carrier_error",
    "id": "msg_01jjnn7s0zfx5tdcsxjfy93et2"
  },
  "timestamp": "2024-10-21T23:29:41Z",
  "type": "message.failed"
}

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