1. Guni Message Academy
  2. Integrations
  3. Webook - Receive - Delivery Report

Webhook - Delivery reports and Status

Configure webhook to get real-time delivery reports and status directly to your application

A webhook (or callback) lets our platform send real-time information to your application. This happens in real-time, allowing you to leverage the platform to create your logic and workflows.

Events that you will get on Webhook:

  • SMS -> Receive SMS
  • MMS > Received MMS
  • Delivery Reports -> Message is delivered
  • Delivery Reports -> Message has expired
  • Delivery Reports -> Message has Failed
  • Delivery Reports -> Message has unknown

Go to integration > Webhooks

  • Enter your webhook endpoint for Receive SMS/MMS - Click update
  • Enter your webhook endpoint for Receive Delivery reports - Click update

 

Go to your application and check JSON data:

SMS Status: Sent

{
"_id": "6461d2d65a9c394e1899db35",
"status": "sent",
"type": "send",
"sender": "61439554019",
"receiver": "481071500",
"number": "+61481071500"
}

SMS Status: Delivered

{
"_id": "6461d2d65a9c394e1899db35",
"status": "delivered",
"type": "send",
"sender": "61439554019",
"receiver": "481071500",
"number": "+61481071500"
}

 

SMS : Received 

{
"_id": "6461d3af5a9c394e1899dc56",
"status": "delivered",
"type": "receive",
"message": "Test sms",
"sender": "481071500",
"receiver": "61481071500"
}

 


MMS : Received

{
"_id": "6461d3af5a9c394e1899dc56",
"status": "delivered",
"type": "receive",
"message": "{\"message\":\"\",\"media\":[{\"url\":\"https://my.mmsmsg.com/mmsmo/NeaBrcjQ/9C6WHckBw.jpeg\"},{\"url\":\"https://my.mmsmsg.com/mmsmo/NeaBrcjQ/Za2DCcdOv.smil\"}]}",
"sender": "61481071500",
"receiver": "61439554019",
"media": [
{
"url": "https://url/NeaBrcjQ/9C6WHckBw.jpeg"
},
{
"url": "https://url/NeaBrcjQ/Za2DCcdOv.smil"
}
],
"mms": true
}