Docs menuUpdate a webhook
API documentationBahasa Indonesia

PATCH/api/v2/webhooks/{id}

Update a webhook

Change the URL, events, or description, or pause and reactivate it.

Only the fields sent change. status: active after a pause sends the waiting deliveries again, starting now.

Send an Idempotency-Key header (for example a new UUID per request). A repeat with the same key within 24 hours gets the first answer again, so nothing is sent twice.

Key
kf_live_ / kf_test_… in the Authorization: Bearer header. Created in Settings › API & Webhook › Create key (Pengaturan › API & Webhook › Buat kunci).
Key scope
webhooks:manage
Plan feature
WhatsApp sending API

Path parameters

  • idintegerrequired

    Webhook id.

Body (JSON)

  • urlstring

    New public HTTPS URL.

  • eventsarray: message.received | message.status | contact.created | lead.created | order.paid | ticket.created | ticket.status | template.status | channel.status

    Replacement event list.

  • descriptionstring

    Description.

  • statusstring: active | paused

    Pause or activate.

Possible errors

Try it

This endpoint needs a live key, so it cannot be tried from the docs. Call it from your server.

Send WhatsApp from your system with the Klik Flow API.

Mulai dengan paket Free. Ajak tim setelah ruang kerja siap.