Skip to content
Home » Octopush Gateway SMS API » Webhook SMS Vocal AR (Acknowledge Receipt)

Webhook SMS Vocal AR (Acknowledge Receipt)

This webhook will be called by octopush in the course of time, each time an acknowledgement of receipt of a Voice SMS is received

Query fields

NameTypeDescription
message_id stringOriginal message ticket
number stringMobile number
status stringStatus of the acknowledgement of receipt
delivery_date stringDate of receipt of the acknowledgement of receipt in “Y-m-d H:i:s” format
call_duration stringCall Duration
charged_duration stringInvoice duration

Possible values for the “status” field:

  • DELIVERED
  • NOT_DELIVERED
  • NOT_DELIVERABLE
  • BUSY
  • REFUSED
  • BLACKLISTED_NUMBER

Simple example of a PHP recovery script

$content = json_decode($response); 

echo $content['message_id']; // sms_5fa275dbf21dc 
echo $content['number']; // +44600000000 
echo $content['status']; // DELIVERED 
echo $content['delivery_date']; // 2020-11-04 11:11:45 
echo $content['call_duration']; // 12 
echo $content['charged_duration']; // 30