API documentationBahasa Indonesia
POST/api/v2/webhooks/{id}/test
Send a test event
Send a sample of one event (marked `test: true`) now, then see your system's response.
The sample is the same as in the Webhook events guide. Test events are not retried when they fail and do not count toward the webhook's health.
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)
eventstring: message.received | message.status | contact.created | lead.created | order.paid | ticket.created | ticket.status | template.status | channel.statusThe event to sample, default
message.received.
Possible errors
- 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.