Delete Webhooks
Untuk menghapus webhook yang spesifik, buat panggilan GET
ke /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
. Contoh
Sampel request:
curl -X DELETE 'https://waofficial.botika.online/api/whatsapp/v1/webhooks/{{ WEBHOOK_ID }}' \ -H 'Authorization: Bearer {{ API_TOKEN }}'
Dari request tersebut akan mengembalikan JSON dengan format:
null