Webhooks
Receive a callback when processing completes or fails.
Instead of polling, you can provide a webhook_url when submitting a document. Kita will POST to your URL when processing completes or fails.
Sequence Diagram
Webhook Payload (Success)
Webhook Payload (Failure)
Webhook Behavior
- Delivery: Fire-and-forget HTTP POST with 10-second timeout
- Retry: No automatic retries — if your server is down, the webhook is lost. Use polling as a fallback.
- Security: Webhooks are sent over HTTP or HTTPS. Use HTTPS in production.
- Body: JSON with
Content-Type: application/json - Your endpoint should return any 2xx status. Non-2xx responses are logged but not retried.

