Detail Webhooks

Untuk mengambil webhook yang spesifik, buat panggilan GET ke /webhooks/{{ WEBHOOK_ID }} .

Contoh

Sampel request:

curl -X GET 'https://waofficial.botika.online/api/whatsapp/v1/webhooks/{{ WEBHOOK_ID }}' \
-H 'Authorization: Bearer {{ API_TOKEN }}'

Dari request tersebut akan mengembalikan JSON dengan format:

{
    "id": {{ WEBHOOK_ID }},
    "name": "{{ WEBHOOK_NAME }}",
    "url": "{{ WEBHOOK_URL }}",
    "status": "{{ WEBHOOK_STATUS }}",
    "events": [
        "outbound notifications",
        "inbound notifications"
    ]
}

Copyright © 2023 Botika Teknologi Indonesia