Home » Introduction of Octopush SMS Gateway API » Callback Acknowledge Receipt SMS

Callback Acknowledge Receipt SMS

This webhook will be called by octopush on an ongoing basis, each time an acknowledgement of receipt is received.

Query fields

NameTypeDescription
message_id stringTicket of the original message
number stringMobile number
status stringAcknowledgement status
delivery_date stringDate of acknowledgment in format “Y-m-d H:i:s”

Possible values for the “status” field:

  • ACK
  • DELIVERED
  • NOT_DELIVERED
  • NOT_ALLOWED
  • UNKNOWN_DELIVERY
  • UNDEFINED
  • BLACKLISTED_NUMBER

Simple example of a PHP recovery script

$content = json_decode($response); 

echo $content['message_id']; // sms_5fa275dbf21dc 
echo $content['number']; // +33600000000 
echo $content['status']; // DELIVERED 
echo $content['delivery_date']; // 2020-11-04 11:11:45