Developers / Webhooks
Webhook Delivery and Retries
Webhook notifications are delivered for each event your webhook endpoints subscribe to. Each request Ospree sends is one delivery attempt.
Webhook Delivery
Acknowledge a webhook with any 2xx HTTP status code (200 recommended). Respond within 30 seconds: each attempt allows 10 seconds to connect and 30 seconds in total.
Retries send the same request_id again. Deduplicate on request_id, and still acknowledge a duplicate with a 2xx status code.
If you have several endpoints subscribed to the same event (up to 5 per event family), Ospree sends the event to each of them, each with its own request_id and signature. If one endpoint fails with a retryable error, the event is sent again to all of them, so your other endpoints can receive duplicates too.
Webhook Retries
A failed attempt is retried with exponential backoff: up to 12 attempts over about 10 minutes, with delays of 1 s, 2 s, 4 s and so on, capped at 120 s.
Ospree retries when:
your endpoint returns a 5xx status code, or any other status that is not 2xx or 4xx (for example 3xx);
the request times out, or the connection fails;
your endpoint’s host name cannot be resolved.
Ospree does not retry (the attempt is final) when:
your endpoint returns a 2xx status code;
your endpoint returns a 4xx status code;
the endpoint URL is not
https, or resolves to a private network address. These requests are never sent.
Delivery log and manual retry
After the retry window there is no further automatic retry. To check and recover deliveries, use the Webhook API (Live · Demo):
List Webhook Requests (
GET /api/v2/webhooks/requests) lists delivery attempts with theirexecution_count,statusanderror_details.Retry Webhook Request (
POST /api/v2/webhooks/requests/{request_id}) sends the recorded payload again to the endpoint’s current URL and records a new delivery attempt. The original attempt stays in the log.