Webhooks
Have Deep Search call your HTTPS endpoint when a job succeeds or fails. Check the HMAC signature, deduplicate by event ID and resend failed deliveries.
How deliveries work
A webhook lets your server learn that a background job has finished without polling. Each delivery is a signed JSON payload with an event ID that never changes, the event type, the API version (v1), a timestamp and the event's data.
The event is committed together with the job's completion, so a finished job always has its event. Destinations must be public HTTPS URLs: private network addresses and redirects are refused, and an attempt that takes longer than ten seconds has failed. Failed deliveries are retried for up to 24 hours, so the same event can arrive twice; deduplicate on its ID. List past deliveries at /api/developer/webhooks/deliveries; POST /api/developer/webhooks/deliveries/{id}/retry sends one again.
Verify the signature
X-DeepSearch-Signature, compute an HMAC SHA-256 of {timestamp}.{raw_body} with your webhook secret and compare it with the v1 value. The secret is shown only once, when you create the webhook.