How Webhooks Work
- You register a webhook endpoint URL in the Chamelio web application
- When a subscribed event occurs, Chamelio sends an HTTP
POSTrequest to your URL with the event payload - Your server processes the payload and responds with a
2xxstatus code to acknowledge receipt
Registering a Webhook
Admins configure webhook endpoints in Settings > Developer > Webhooks in the Chamelio web application. You can:- Register multiple endpoint URLs
- Subscribe each endpoint to specific event types
- Edit, pause (or reactivate), or delete an endpoint from the ⋮ menu on its row
Authentication & Verification
Chamelio doesn’t sign webhook requests today. Requests don’t include a signature header, and registering a webhook doesn’t give you a secret, so there’s nothing to verify a request against.
- Use an HTTPS endpoint URL that’s hard to guess, and don’t share it.
- Treat a webhook as a notification. Before you act on it, fetch the current record from the Chamelio API using the IDs in the payload.
Retry Policy
If your endpoint times out, returns408, 429, or a 5xx status, or can’t be reached, Chamelio retries the delivery with a short backoff, up to 3 attempts in total. Other responses, such as other 4xx or 3xx statuses, aren’t retried. A delivery that still fails is recorded as failed.
Common Payload Fields
All webhook events share a common envelope:organization_id and user_id are integers, not prefixed strings. IDs inside data follow the same
rule: document, task, and attachment identifiers are integers, while workflow identifiers are strings.