Delivery, Retries & Rate Limits
The validation handshake
Before Dash delivers any event to a new (or edited) subscription, it sends a one-time OPTIONS request to confirm your endpoint is reachable and willing to accept deliveries:
Request (from Dash, to your endpoint):
OPTIONS /your-webhook-path HTTP/1.1
WebHook-Request-Origin: api.daysmartrecreation.com
WebHook-Request-Rate: 1000Expected response (from your endpoint):
HTTP/1.1 200 OK
WebHook-Allowed-Origin: api.daysmartrecreation.com
WebHook-Allowed-Rate: 1000WebHook-Allowed-Origin— echo back the requesting origin (or*to accept any) to confirm you're willing to receive from it. Required.WebHook-Allowed-Rate— (optional) the delivery rate (requests/minute) you're willing to sustain. Dash honors this as a ceiling for your subscription. Omit it, or return*, to signal no limit on your end — in that case Dash uses the rate it offered inWebHook-Request-Rateinstead.- Respond with a non-2xx status, or omit
WebHook-Allowed-Origin, and the subscription is marked Rejected — no events will be delivered until you fix your endpoint and the handshake succeeds.
Response codes and what they mean
Your endpoint's response to each event delivery determines what Dash does next:
| Your response | Effect |
|---|---|
2xx | Delivered. Done. |
410 Gone or 415 Unsupported Media Type | Delivery abandoned and your subscription is automatically deactivated. Only return these if you intend to permanently stop receiving events. |
429 Too Many Requests | Retried after the Retry-After header you return (defaults to 60s if omitted). |
Any other 4xx | Delivery abandoned, but your subscription stays active — the next event will still be sent. |
5xx, or a timeout | Retried with exponential backoff (see below). |
Retry schedule
On a 5xx/timeout/connection failure, Dash retries the same delivery up to 5 attempts total, with backoff between attempts of approximately:
10s → 30s → 60s → 120s → 300s
If all attempts are exhausted, the delivery is marked failed and no further retries occur for that specific event occurrence.
Idempotency — deliveries are at-least-once
Every delivery carries a WebHook-ID header uniquely identifying that delivery occurrence— it always matches the CloudEvents envelope's id field, so either one is a valid key. If Dash retries a delivery (per the schedule above), the retry reuses the same WebHook-ID.
Because delivery is at-least-once and effectively unordered (see Payloads & Event Data), your endpoint should:
- Record the
WebHook-IDof deliveries you've already processed. - Treat a repeat of an id you've seen as a no-op — respond
2xxwithout reprocessing.
Rate limits
The rate negotiated during the handshake is the ceiling Dash uses when delivering to your endpoint: your WebHook-Allowed-Rate if you returned one, or Dash's offered WebHook-Request-Rate if you omitted it (or returned *). Separately, Dash's core API enforces its own request-rate limit.
Since the recommended integration pattern is to fetch current state on every event (see Payloads & Event Data), a high-volume subscriber's hydration calls back into the API count against that same limit. If you expect meaningful event volume, use a dedicated API/service token for your webhook-driven hydration calls rather than reusing a token that also serves interactive or administrative traffic — that keeps a burst of webhook-triggered hydration from throttling unrelated API usage, and vice versa.
Updated 2 months ago

