Page describing how to verify the webhook you have setup is the correct one.
Last updated 4 years ago
For consulting the webhook url that is set up for your bot you must use the following endpoint:
GET https://api.jelou.ai/v1/bots/:botId/webhook
GET
https://api.jelou.ai/v1/bots/:botId/webhook
Endpoint for getting your webhook url.
{ "message": [ { "webhookUrl": "<webhookUrl>" } ], "status": "success" }
{ "message": [ { "webhookUrl": "webhookUrl not asigned" } ], "status": "failed" }
curl --request GET \ --url https://api.jelou.ai/v1/whatsapp/settings/<botId> \ --header 'authorization: <clientId>:<clientSecret>'
axios({ "method": "GET", "url": "https://api.jelou.ai/v1/whatsapp/settings/<botId>", "auth": { "username": "<clientId>", "password": "<clientSecret>" } })
botId
string
Bot id