Detail Webhooks
To get a specific webhook, make a GET
call to the /webhooks/{{ WEBHOOK_ID }}
.
Prerequisite
All API calls require authentication with
API_TOKEN
Developers can authenticate their API calls with the API_TOKEN
generated in App Dashboard > Phone Numbers > Detail > Api
. Example
Sample request:
curl -X GET 'https://waofficial.botika.online/api/whatsapp/v1/webhooks/{{ WEBHOOK_ID }}' \ -H 'Authorization: Bearer {{ API_TOKEN }}'
Reading from this edge will return a JSON formatted result:
{ "id": {{ WEBHOOK_ID }}, "name": "{{ WEBHOOK_NAME }}", "url": "{{ WEBHOOK_URL }}", "status": "{{ WEBHOOK_STATUS }}", "events": [ "outbound notifications", "inbound notifications" ] }