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.
Path parameters
idintegerrequiredWebhook id.
Body (JSON)
urlstringNew public HTTPS URL.
eventsarray: message.received | message.status | contact.created | lead.created | order.paid | ticket.created | ticket.status | template.status | channel.statusReplacement event list.
descriptionstringDescription.
statusstring: active | pausedPause or activate.
Possible errors
- 400
invalid_jsonBody is not valid JSON - 401
missing_keyAPI key not sent - 401
key_invalidUnknown API key - 401
key_revokedAPI key revoked - 401
key_expiredAPI key expired - 401
member_inactiveKey creator is no longer a member - 403
ip_not_allowedServer IP not in the key's list - 403
plan_no_apiPlan does not include the API for live keys - 403
tenant_blockedBusiness access suspended - 403
scope_missingKey lacks this permission - 403
permission_missingKey creator's role lacks this permission - 403
live_key_requiredLive key required - 404
not_foundNot found - 422
invalid_requestInvalid field - 429
rate_limitedToo many requests per minute - 500
internal_errorProblem at Klik Flow
Try it
This endpoint needs a live key, so it cannot be tried from the docs. Call it from your server.