Supported Event Types
Webhook Payload Structure
All webhook payloads are delivered with a standard JSON envelope:Webhook Event Payload Example
Verifying Webhook Signatures
To verify that webhook requests genuinely originate from MITHUNAI and were not tampered with in transit, inspect theX-MithunAI-Signature header:
Signature Verification Example (Node.js)
Delivery Guarantees & Retry Policy
- At-Least-Once Delivery: MITHUNAI guarantees that every triggered event is delivered to healthy endpoints.
- Retry Schedule: If your server returns an HTTP status outside the
2xxrange, the webhook dispatcher retries with exponential backoff at 10 seconds, 1 minute, 5 minutes, and 1 hour. - Timeout: The webhook dispatcher waits up to 10 seconds for an HTTP response before marking an attempt as timed out.