A common problem users encounter when connecting 360dialog to their chat platform – the inability to receive messages. This issue is often due to improperly setting the webhook URL.
Instead of navigating to the 360dialog account to manually set the webhook URL, users can do it directly through an external request.
This tutorial only applies to 360Dialog with Cloud API access. It will not work for On-premise API
HTTP Request
Method: POST
The request URL is “https://waba.360dialog.io/v1/configs/webhook”.
Headers
Content-Type: application/json
D360-API-Key: [Your 360dialog API Key]
Body
{ “url”: “https://uchat.com.au/botman/whatsapp-360/[Workspace ID]-[Phone Number]” }
[Workspace ID]: you can find this by going to your workspace settings from the left hand menu. first tab will show the id
[Phone Number]: should include the country code without the plus sign
Partners need to replace "http://uchat.com.au " with their registered partner domain in the white label settings to avoid continued issues with message handling.
0 Comments