Create Webhooks

To create a new webhook, make a GET call to the /webhooks .

Example

Sample request:

curl -X POST 'https://waofficial.botika.online/api/whatsapp/v1/webhooks' \
-H 'Authorization: Bearer {{ API_TOKEN }}' \
-H 'Content-Type: application/json' \
-d '{
    "name": "{{ WEBHOOK_NAME }}",
    "url": "{{ WEBHOOK_URL }}",
    "events": [
        "outbound notifications",
        "inbound notifications"
    ],
    "status": "ACTIVE" || "INACTIVE"
}'

Reading from this edge will return a JSON formatted result:

null

Copyright © 2023 Botika Teknologi Indonesia