webhook_url field.
If an endpoint does not show webhook_url in its request body schema, webhooks are not available for that endpoint.
How to enable
For supported endpoints, include your HTTPS URL inwebhook_url when creating the job:
Delivery behavior
When a job reaches a terminal state, PeelAPI sends aPOST request to your webhook_url with JSON:
statusissucceededorfaileddatacontains the final job result or failure payload for that endpoint
Reliability and retry logic
Webhook delivery uses fire-and-forget semantics so your original API request is never blocked by webhook failures:- Only
https://URLs are allowed; non-HTTPS URLs are skipped - Request method is
POSTwithContent-Type: application/json - Each attempt has a 10 second timeout
- Non-2xx responses are treated as failures and retried
- Up to 5 total attempts are made (initial try + 4 retries)
- Retries use exponential backoff starting at 1 second (1s, 2s, 4s, 8s)
Implementation notes
- Return a fast
2xxresponse from your webhook handler to avoid unnecessary retries - Design your endpoint to be idempotent in case of repeated delivery attempts