Head over to your Account. Under Account
, you should be able to navigate to integrations
tab.
Scroll down to Callback URL
section and update the value to a valid http(s) url.
Click on Update.
{info} The Update URL is used as a forward endpoint for all Messages received from all Platforms, i.e SMS, WHATSAPP
Once messages are received from service providers, they'll automatically be forwarded to the specified url
{
"platform": "whatsapp",
"phone": "+2547XXXXXXXX",
"from": "2547XXXXXXXX",
"message": {
"type": "text",
"text": "Message Received"
},
"timeReceived": "2020-05-11 12:07:31"
}
{
"platform": "whatsapp",
"phone": "+2547XXXXXXXX",
"from": "2547XXXXXXXX",
"message": {
"type": "image",
"image_url": "https://link_to_image",
"caption":"image Caption"
},
"timeReceived": "2020-05-11 12:07:31"
}