You can start receiving WhatsApp delivery receipts for outbound messages, message content for inbound messages from your customers by setting "Outbound Webhooks" under Integrations.

For outbound messages, we support -

  • Submitted
{
   "deliveryInfoNotification":{
      "subtid":"",
      "deliveryInfo":{
         "deliveryChannel":"whatsapp",
         "Description":"Submitted",
         "destinationType":"waid",
         "timeStamp":"2019-03-04T09:49:20.429Z",
         "code":"7501",
         "additionalInfo":"",
         "deliveryStatus":"Submitted",
         "destination":"9199xxxxxxxx"
      },
      "correlationid":"",
      "callbackData":"",
      "transid":"5c9f6594-a371-4e78-8561-b695f9647472"
   }
}
  • Delivered
{
   "deliveryInfoNotification":{
      "subtid":"",
      "deliveryInfo":{
         "deliveryChannel":"whatsapp",
         "Description":"Delivered",
         "destinationType":"waid",
         "timeStamp":"2019-03-04T09:49:21.157Z",
         "code":"7500",
         "additionalInfo":"",
         "deliveryStatus":"Delivered",
         "destination":"9199xxxxxxxx"
      },
      "correlationid":"",
      "callbackData":"",
      "transid":"5c9f6594-a371-4e78-8561-b695f9647472"
   }
}
  • Read
{
   "deliveryInfoNotification":{
      "subtid":"",
      "deliveryInfo":{
         "deliveryChannel":"whatsapp",
         "Description":"Read",
         "destinationType":"waid",
         "timeStamp":"2019-03-04T09:49:24.849Z",
         "code":"7502",
         "additionalInfo":"",
         "deliveryStatus":"Read",
         "destination":"9199xxxxxxxx"
      },
      "correlationid":"",
      "callbackData":"",
      "transid":"5c9f6594-a371-4e78-8561-b695f9647472"
   }
}
  • Failed
{
   "deliveryInfoNotification":{
      "deliveryInfo":{
         "timeStamp":"2020-02-27T17:12:07.567Z",
         "Description":"Re-engagement message",
         "code":"7710",
         "deliveryChannel":"whatsapp",
         "additionalInfo":"Message failed to send because more than 24 hours have passed since the customer last replied to this number",
         "destination":"9199XXXXXXXX",
         "destinationType":"waid",
         "deliveryStatus":"Failed"
      },
      "subtid":"",
      "transid":"108dd36b-9bca-48e5-ae8b-5f59c64b40a3",
      "callbackData":"",
      "correlationid":"123456789"
   }
}

For inbound messages, we support -

  • Text
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_155054536910425280",
   "event":"MO",
   "waid":"9199xxxxxxxx",
   "message":"Hello",
   "attachments":"[]",
   "system":"",
   "location":"",
   "ts":"2019-03-03T07:40:51.297Z",
   "tid":"0cab6280-9d98-0041-4877-0bde6515b15a_0"
}
  • Image
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_154623235593581600",
   "event":"MO",
   "waid":"9187xxxxxxxx",
   "message":"",
   "attachments":"[{\"mime_type\":\"image/jpeg\",\"url\":\"https://stgrtmedia.s3.amazonaws.com/a_154623235593581600/d3aa15e8-93ee-4e79-bb31-0ad3f0fe7430.jpg\"}]",
   "system":"",
   "location":"",
   "ts":"2019-01-03T09:04:42.726Z",
   "tid":"5b11ed3b-36fb-9336-bb58-11429b0b78aa_0"
}
  • Video
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_154623235593581600",
   "event":"MO",
   "waid":"9187xxxxxxxx",
   "message":"",
   "attachments":"[{\"mime_type\":\"video/mp4\",\"url\":\"https://stgrtmedia.s3.amazonaws.com/a_154623235593581600/aa9b851f-94b6-49f6-878c-ea8a8d7b3098.mp4\"}]",
   "system":"",
   "location":"",
   "ts":"2019-01-03T09:23:26.386Z",
   "tid":"ff0f3e02-e812-22f7-dc15-dba71dabde53_0"
}
  • Location
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_154529859479452060",
   "event":"MO",
   "waid":"9187xxxxxxxx",
   "message":"",
   "attachments":"[]",
   "system":"",
   "location":"{\"address\":\"Plot No. 770, Road No. 44, Jubilee Hills, Hyderabad\",\"latitude\":\"17.434901060022\",\"name\":\"Imimobile\",\"url\":\"https://www.facebook.com/pages/Imimobile/204627936239899\",\"longitude\":\"78.398435572505\"}",
   "ts":"2019-01-08T08:59:02.717Z",
   "tid":"3beecbfb-73fd-803e-a27f-4e797fb22ffd_0"
}
  • Audio
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_154623235593581600",
   "event":"MO",
   "waid":"9187xxxxxxxx",
   "message":"",
   "attachments":"[{\"mime_type\":\"audio/mpeg\",\"url\":\"https://stgrtmedia.s3.amazonaws.com/a_154623235593581600/ef484891-d99c-45b9-af97-c5ad0e7abef6\"}]",
   "system":"",
   "location":"",
   "ts":"2019-01-03T08:03:04.866Z",
   "tid":"88be8081-8579-2a56-3e03-cee8b01afdb2_0"
}
  • Document
{
   "userId":"",
   "channel":"WhatsApp",
   "appId":"a_154623235593581600",
   "event":"MO",
   "waid":"9187xxxxxxxx",
   "message":"",
   "attachments":"[{\"mime_type\":\"application/msword\",\"caption\":\"This is PPT-1\",\"url\":\"https://stgrtmedia.s3.amazonaws.com/a_154623235593581600/21bb5a4a-fd0e-47d3-a02d-b1af0eddbe88.ppt\"}]",
   "system":"",
   "location":"",
   "ts":"2019-01-03T08:59:16.192Z",
   "tid":"5a7898e0-d80b-7316-dd80-7849f84fa304_0"
}

Did this answer your question?