Receive Whatsapp SMS


Configure Endpoints

  1. Head over to your Account. Under Account , you should be able to navigate to integrations tab.

  2. Scroll down to Callback URL section and update the value to a valid http(s) url.

  3. Click on Update.

    {info} The Update URL is used as a forward endpoint for all Messages received from all Platforms, i.e SMS, WHATSAPP

Receiving Messages

Once messages are received from service providers, they'll automatically be forwarded to the specified url

Sample Whatsapp Message Request

{
  "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"
}