ChatAman Docsby CodeEra
العربية Open app

Documentation

Webhooks

Receive event notifications when contacts, messages, campaigns, or channel events change.

CodeEra developer API tools inside Chataman CodeEra developer API tools inside Chataman
CodeEra developer API tools inside Chataman

Webhook design

Your endpoint should accept JSON, verify the source, return quickly, and process work asynchronously.

Recommended handling

  1. Receive the event.
  2. Validate signature or shared secret when configured.
  3. Store the event id for deduplication.
  4. Queue downstream work.
  5. Return a successful HTTP response.

Reliability

Make webhook handlers idempotent. Providers and Chataman may retry events when a timeout or network error occurs.