OdyDocs

Retries and delivery

Timeouts, the retry schedule, resending, what happens to an endpoint that keeps failing, ordering, and how to debug deliveries.

#What counts as success

Any 2xx response within 10 seconds. Anything else counts as a failure and is retried: a 3xx (redirects aren't followed), 4xx, 5xx, a timeout, a TLS error or a refused connection.

#Retry schedule

Ody is moving webhook delivery from a short in-memory retry to a stored queue. The move is switched on for all workspaces at once; until then the short schedule applies. Build → Webhooks → How delivery works in the app always shows the schedule in effect for your workspace.

#Stored queue (rolling out)

Each event gets up to eight attempts per endpoint, over about 27½ hours:

AttemptWhen
1Immediately
21 minute after attempt 1 fails
35 minutes later
430 minutes later
52 hours later
65 hours later
710 hours later
810 hours later

While attempts remain, the delivery's status is retrying and nextAttemptAt says when the next one is due. After the eighth failure it is failed and nothing more is sent on its own. The queue is stored, so a retry survives a restart on Ody's side.

#Short schedule (in effect until the queue is on)

Each event gets up to three attempts per endpoint: immediately, about 5 seconds later, and about 30 seconds after that. Once the third attempt fails, the delivery is failed.

Plan for missed events

With the short schedule the retry window is under a minute, so an endpoint that's down for a deploy can miss events. Make your integration self-healing: periodically reconcile against the API (for example, page through GET /conversations ordered by lastActivityAt), and treat webhooks as a fast path rather than the only source of truth. This is good practice with the stored queue as well.

Either way, every attempt is signed fresh, with a new webhook-timestamp, and keeps the same webhook-id.

#Resend a delivery

In the app, open a delivery under Build → Webhooks and click Resend. Ody sends the same event to the endpoint once, now, and adds the attempt to the delivery's history (marked manual). It does not use up a scheduled attempt, and a delivery that was still retrying stops retrying once a resend succeeds. There is no API call for resending yet.

#Endpoints that keep failing

The first failed delivery after a success sets the endpoint's failingSince; the app shows the endpoint as Failing. Any successful delivery clears it.

With the stored queue, an endpoint that has had no successful delivery for 3 days since failingSince is switched off: status becomes disabled and disabledReason is failing (the app shows Disabled by Ody). To turn it back on, fix your server, send a test, then set status: "enabled" with PATCH /webhooks/:id or press Enable in the app. Events that happened while the endpoint was off are not sent later.

To pause deliveries yourself, set status: "disabled". disabledReason stays null.

#What is kept, and for how long

RecordKept for
Deliveries (attempts, the body that was sent, the first 2 KB of your server's last answer)30 days
Events in Build → Events30 days

#Ordering and duplicates

  • Events for different endpoints, and successive events for one endpoint, are sent concurrently. Arrival order isn't guaranteed; a call.summary.completed can arrive before its call.completed.
  • The same event can arrive more than once (for example, your server processed it but the response timed out). Store processed ids, for at least a day, and skip repeats.

#Debugging

ToolWhat it shows
Build → Webhooks in the appEvery delivery with its attempts, the body Ody sent, the start of your server's answer, and Resend
Build → Events in the appWhether an event happened at all, its payload, and which endpoints it went to
GET /webhooks/:id/deliveriesEvery delivery and each attempt's statusCode or error and durationMs
POST /webhooks/:id/testOne signed ping, or a sample of any event type, with the result inline. No retries
Delivery with a failed first attempt
{
  "id": "d7e1…",
  "webhookId": "3a8f…",
  "eventId": "evt_4f9b2c0d8e1a4b7c9d2e3f4a5b6c7d8e",
  "eventType": "message.received",
  "status": "success",
  "attempts": [
    { "at": "2026-10-14T18:05:42.400Z", "statusCode": 503, "durationMs": 88 },
    { "at": "2026-10-14T18:05:47.493Z", "statusCode": 200, "durationMs": 121 }
  ],
  "nextAttemptAt": null,
  "createdAt": "2026-10-14T18:05:47.620Z"
}

#Common failures

SymptomLikely cause
error: "The operation was aborted due to timeout"Your handler takes over 10s. Return 200 first, then process
statusCode: 401 or 403Your signature check is failing: raw body, wrong secret, or the secret was rotated
statusCode: 404 or 405Wrong path, or the route doesn't accept POST
statusCode: 301 or 308Redirects aren't followed. Register the final URL
error mentioning a certificateInvalid or self-signed TLS certificate
error saying the address is not allowedThe URL resolves to a private, local or metadata address. Endpoints must be public
No deliveries at allEndpoint disabled (check disabledReason), or not subscribed to that type. Look the event up in Build → Events to see whether it happened. Check what each type needs in Event types: for example contact.updated doesn't fire for CSV imports, change: "enriched" is only sent for workspaces with AI Contact on, and call.ringing is inbound-only
Last updated Tue Nov 24 2026 00:00:00 GMT+0000 (Coordinated Universal Time)Something wrong on this page? Tell us