One API: Message status callback

You can configure the following Callback URLs for the One API integration. This will allow you to register the webhooks to receive callback information directly into your application.

  • Status updates for all channels will be sent to a single Message Status Callback URL
  • Messages received over all channels will be sent to a single Received Message URL
Receive Message Callback URL Enable to receive incoming messages to your business
Message Status Callback URL Enable to receive status updates on messages sent from your business to your consumers

NOTE – The callback URLs are configured via the Portal UI when setting up your specific One API integration preferences

Message Status Callback API

Clickatell will asynchronously send a callback to your application on the status update per message when received from the channel delivery supplier. The callbacks may arrive out of order, but a timestamp is included with each callback for your reference.

Below is a standard callback sample when the message has been read by the recipient:

POST Request


{
"integrationId": "fa8090815f05d5ed015f0b5b56080cd2",
"integrationName": "My integration",
"event":{
 "messageStatusUpdate":[
  {
   "channel":"whatsapp",
   "timestamp": 1506607698860,
   "statusCode": 5,
   "status": "DEVICE_ACK",
   "messageId": "3a89680503414383af44dcd0e4e5f184",
   "clientMessageId": "2993b6b548000a80989a20549e7558a5"
   }
  ]
 }
}

You can configure the following Callback URLs for the One API integration. This will allow you to register the webhooks to receive callback information directly into your application.
  • Status updates for all channels will be sent to a single Message Status Callback URL
  • Messages received over all channels will be sent to a single Received Message URL
Receive Message Callback URL Enable to receive incoming messages to your business
Message Status Callback URL Enable to receive status updates on messages sent from your business to your consumers

NOTE – The callback URLs are configured via the Portal UI when setting up your specific One API integration preferences

Message Status Callback API

Clickatell will asynchronously send a callback to your application on the status update per message when received from the channel delivery supplier. The callbacks may arrive out of order, but a timestamp is included with each callback for your reference. Below is a standard callback sample when the message has been read by the recipient: POST Request

{
"integrationId": "fa8090815f05d5ed015f0b5b56080cd2",
"integrationName": "My integration",
"event":{
 "messageStatusUpdate":[
  {
   "channel":"whatsapp",
   "timestamp": 1506607698860,
   "statusCode": 5,
   "status": "DEVICE_ACK",
   "messageId": "3a89680503414383af44dcd0e4e5f184",
   "clientMessageId": "2993b6b548000a80989a20549e7558a5"
   }
  ]
 }
}