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.
Example Flow:
A step-by-step guide is provided for setting the webhook URL via a POST request.
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