Documentation

LogIn
  • Home
  • API
  • Message Failed Report Callback

This is to report the status of a failed delivery of the Message



Parameters Sample Description
type message-failed message-delivered
message_id string Unique ID for the message
from 3056490655 One of your telephone numbers assigned under the account, if not assigned, will result in error.
to 9195551212 The phone number the message should be sent to
errorCode 205 The phone number the message should be sent to
description string A detailed description of the event described by the receipt

Example:


				

Example :

POST /your_url HTTP/1.1
Content-Type: application/json; charset=utf-8

Response :

  1. {
  2. "type":"message-failed",
  3. "message_id":"Hmdbn479ikf7",
  4. "from":"626446262",
  5. "to":"305689888",
  6. "errorCode":"The error code (if any). See the error docs for a detailed list",
  7. "description":"A detailed description of the event described by the receipt",
  8. }