Receive signed application updates, then retrieve current state from the API. Register once for your workflow and use the same receiver across applications in your tenant.
Start with the quickstart for runnable client and receiver examples. Management requests use a server API key with webhooks:manage. Delivery signatures use a separate signing secret.
Set up once
Prepare a public HTTPS receiver that captures raw bytes and durably accepts events.
Register its URL and explicit application event subscriptions. Store the one-time secret privately.
Send webhook.test to check connectivity and signatures. This synchronous direct send does not establish queued application delivery.
Exercise real application submission and information-request workflows, then check delivery diagnostics and current-state reconciliation.
Callbacks are HTTP POST requests to your backend. There is no callbackUrl on application creation. Browser handoff uses the returned loginUrl; redirectPath selects a page inside the portal.
Inspect safe delivery diagnostics, including retired endpoint history.
All response fields are enumerated below. Always means the key is present, even if its type permits null. Within parent means the field is present in each containing object; conditional labels identify event or response variants. Read shared errors and optional request replay.
POST /v1/webhooks
Register an endpoint and capture its signing secret once.
Required scope:webhooks:manage.
Request. Send a JSON body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Content-TypeRequired
string (header)
application/json.
Idempotency-KeyOptional
string (header)
Optional: one stable operation key, 1 to 128 visible ASCII characters, no whitespace or duplicate header lines. Matching successful requests replay within 24 hours. See request replay below.
urlRequired
string (body)
Public HTTPS URL, at most 2048 characters, hostname at most 253 characters, port 443. No IP literals, private/special addresses, user information, fragments or redirects.
eventsRequired
string[] (body)
1 to 20 unique filters. Exact application names or matching prefix wildcards; * must stand alone. Empty/unknown filters and webhook.test are refused.
events[]Within supplied events
string
Exact application name or accepted wildcard; see the catalogue. No duplicates.
descriptionOptional
string (body)
Optional label, at most 500 Unicode code points. Default empty string. Null is not accepted.
Registration ID. Keep it for update, rotation, retirement and diagnostics.
urlAlways
string | null
Registered HTTPS URL, maximum 2048 characters.
eventsAlways
string[]
Complete subscription array, 1 to 20 unique filters.
events[]Within events
string
An exact application event name, * alone, or a prefix wildcard matching the catalogue, such as application.* or application.info_request.*.
statusAlways
string | null
enabled or disabled. Retired registrations are omitted from this response.
descriptionAlways
string | null
Label, at most 500 Unicode code points. Empty or omitted description is returned as null.
createdAtAlways
string | null
RFC 3339 UTC creation timestamp.
updatedAtAlways
string | null
RFC 3339 UTC last update timestamp.
disabledAtAlways
string | null
When the endpoint was disabled, otherwise null.
disabledReasonAlways
string | null
manual, http_410, invalid_failure_metadata, consecutive_delivery_failures or no_success_24h; null while enabled.
consecutiveFailuresAlways
number | null
Consecutive deliveries reaching terminal failure, not every failed HTTP attempt. Resets after a successful delivery or disabled-to-enabled transition.
lastSuccessAtAlways
string | null
Last successful delivery time, otherwise null.
lastFailureAtAlways
string | null
Last terminal delivery failure time, otherwise null. Cleared on re-enable.
secretFirst response only
string
Opaque UTF-8 signing secret, disclosed only in the first create/rotate response.
Request replay
With Idempotency-Key, the first successful response has Aegis-Idempotency-Replayed: false; a matching completed replay has Aegis-Idempotency-Replayed: true. Both have a fresh Aegis-Request-Id. Without the request header, the replay response header is absent. Read key validation, expiry, conflicts and recovery.
Response 200: matching replay
{
"id": "wh_123",
"replayed": true
}
Field
Type
Description
idAlways on replay
string
Identity of the resource from the completed operation.
replayedAlways on replay
boolean
Exactly true. No loginUrl, expiresAt, signing secret or other first-response fields are returned in this variant.
If you lost the secret, explicitly rotate this endpoint using a new operation key. An identity-only replay never discloses the earlier secret.
Registrations start enabled. Unknown body fields, a status on create, or invalid URL/subscriptions return 400 invalid-argument. Default cap: 5 endpoints; configured bounded values range from 1 to 50. Disabled endpoints occupy a slot, retired endpoints do not. Cap refusal: 400 failed-precondition.
Requires an active tenant. Capture the secret privately; do not log the response.
GET /v1/webhooks
List non-retired tenant registrations and delivery health.
Required scope:webhooks:manage.
Request. No request body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Example request
GET /v1/webhooks HTTP/1.1
Host: aegis-api.theauroraedge.com
Authorization: Bearer aegis_<key-id>_<secret>
Unpaged registrations, bounded by the configured cap (at most 50). Empty array when none exist.
data[].idWithin data
string
Registration ID. Keep it for update, rotation, retirement and diagnostics.
data[].urlWithin data
string | null
Registered HTTPS URL, maximum 2048 characters.
data[].eventsWithin data
string[]
Complete subscription array, 1 to 20 unique filters.
data[].events[]Within data
string
An exact application event name, * alone, or a prefix wildcard matching the catalogue, such as application.* or application.info_request.*.
data[].statusWithin data
string | null
enabled or disabled. Retired registrations are omitted from this response.
data[].descriptionWithin data
string | null
Label, at most 500 Unicode code points. Empty or omitted description is returned as null.
data[].createdAtWithin data
string | null
RFC 3339 UTC creation timestamp.
data[].updatedAtWithin data
string | null
RFC 3339 UTC last update timestamp.
data[].disabledAtWithin data
string | null
When the endpoint was disabled, otherwise null.
data[].disabledReasonWithin data
string | null
manual, http_410, invalid_failure_metadata, consecutive_delivery_failures or no_success_24h; null while enabled.
data[].consecutiveFailuresWithin data
number | null
Consecutive deliveries reaching terminal failure, not every failed HTTP attempt. Resets after a successful delivery or disabled-to-enabled transition.
data[].lastSuccessAtWithin data
string | null
Last successful delivery time, otherwise null.
data[].lastFailureAtWithin data
string | null
Last terminal delivery failure time, otherwise null. Cleared on re-enable.
No registrations
{
"data": []
}
Includes enabled and disabled endpoints, never retired endpoints. No secrets. Listing remains available while the tenant is suspended. Do not assume a list order.
PATCH /v1/webhooks/{id}
Change receiver URL, full event subscriptions, label or enabled state.
Required scope:webhooks:manage.
Request. Send a JSON body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Content-TypeRequired
string (header)
application/json.
Idempotency-KeyOptional
string (header)
Optional: one stable operation key, 1 to 128 visible ASCII characters, no whitespace or duplicate header lines. Matching successful requests replay within 24 hours. See request replay below.
idRequired
string (path)
Webhook endpoint ID returned by registration. Keep IDs opaque. A path ID is at most 1500 UTF-8 bytes; slash, dot-only segments and reserved double-underscore names are not addressable.
urlOptional
string (body)
Public HTTPS URL, at most 2048 characters, hostname at most 253 characters, port 443. No IP literals, private/special addresses, user information, fragments or redirects.
eventsOptional
string[] (body)
1 to 20 unique filters. Exact application names or matching prefix wildcards; * must stand alone. Empty/unknown filters and webhook.test are refused.
events[]Within supplied events
string
Exact application name or accepted wildcard; see the catalogue. No duplicates.
descriptionOptional
string (body)
Optional label, at most 500 Unicode code points. Default empty string. Null is not accepted.
statusOptional
string (body)
enabled or disabled. Omit to keep the current state.
Registration ID. Keep it for update, rotation, retirement and diagnostics.
urlAlways
string | null
Registered HTTPS URL, maximum 2048 characters.
eventsAlways
string[]
Complete subscription array, 1 to 20 unique filters.
events[]Within events
string
An exact application event name, * alone, or a prefix wildcard matching the catalogue, such as application.* or application.info_request.*.
statusAlways
string | null
enabled or disabled. Retired registrations are omitted from this response.
descriptionAlways
string | null
Label, at most 500 Unicode code points. Empty or omitted description is returned as null.
createdAtAlways
string | null
RFC 3339 UTC creation timestamp.
updatedAtAlways
string | null
RFC 3339 UTC last update timestamp.
disabledAtAlways
string | null
When the endpoint was disabled, otherwise null.
disabledReasonAlways
string | null
manual, http_410, invalid_failure_metadata, consecutive_delivery_failures or no_success_24h; null while enabled.
consecutiveFailuresAlways
number | null
Consecutive deliveries reaching terminal failure, not every failed HTTP attempt. Resets after a successful delivery or disabled-to-enabled transition.
lastSuccessAtAlways
string | null
Last successful delivery time, otherwise null.
lastFailureAtAlways
string | null
Last terminal delivery failure time, otherwise null. Cleared on re-enable.
Request replay
With Idempotency-Key, the first successful response has Aegis-Idempotency-Replayed: false; a matching completed replay has Aegis-Idempotency-Replayed: true. Both have a fresh Aegis-Request-Id. Without the request header, the replay response header is absent. Read key validation, expiry, conflicts and recovery.
A matching replay returns the same successful status and body shown above, including an empty body for 204. It describes the earlier operation; read the resource for current state. Current authorization and resource guards still apply.
At least one field is required. Unknown fields, empty patch or invalid values return 400. URL is revalidated when supplied. Missing, foreign or retired ID returns 404. Requires an active tenant.
Disabling cancels pending delivery work. Re-enable permits events occurring at or after re-enable, without reviving older work. An HTTP request already in flight may still arrive. Sending enabled to an already enabled endpoint does not reset its history.
POST /v1/webhooks/{id}/test
Send a synchronous signed webhook.test diagnostic.
Required scope:webhooks:manage.
Request. Send a JSON body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Content-TypeRequired
string (header)
application/json.
idRequired
string (path)
Webhook endpoint ID returned by registration. Keep IDs opaque. A path ID is at most 1500 UTF-8 bytes; slash, dot-only segments and reserved double-underscore names are not addressable.
Send exactly {}. Idempotency-Key is refused with 400 before any outbound request. Do not retry this external diagnostic automatically.
Works for enabled and disabled registrations, requires an active tenant, and refuses missing/foreign/retired registrations with 404. It sends directly, not through queued application delivery; it does not change failure counters or auto-disable the endpoint.
POST /v1/webhooks/{id}/rotate-secret
Issue a new signing secret with bounded overlap.
Required scope:webhooks:manage.
Request. Send a JSON body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Content-TypeRequired
string (header)
application/json.
Idempotency-KeyOptional
string (header)
Optional: one stable operation key, 1 to 128 visible ASCII characters, no whitespace or duplicate header lines. Matching successful requests replay within 24 hours. See request replay below.
idRequired
string (path)
Webhook endpoint ID returned by registration. Keep IDs opaque. A path ID is at most 1500 UTF-8 bytes; slash, dot-only segments and reserved double-underscore names are not addressable.
gracePeriodSecondsOptional
integer (body)
Optional, default 86400 seconds. Range 0 to 604800; null, nonintegers and out-of-range values return 400. Zero ends old-secret acceptance immediately.
RFC 3339 UTC expiry of the prior secret. With zero grace this is the rotation time.
Request replay
With Idempotency-Key, the first successful response has Aegis-Idempotency-Replayed: false; a matching completed replay has Aegis-Idempotency-Replayed: true. Both have a fresh Aegis-Request-Id. Without the request header, the replay response header is absent. Read key validation, expiry, conflicts and recovery.
Response 200: matching replay
{
"id": "wh_123",
"replayed": true
}
Field
Type
Description
idAlways on replay
string
Identity of the resource from the completed operation.
replayedAlways on replay
boolean
Exactly true. No loginUrl, expiresAt, signing secret or other first-response fields are returned in this variant.
If you lost the secret, explicitly rotate this endpoint using a new operation key. An identity-only replay never discloses the earlier secret.
Empty body or {} uses the default. Unknown fields return 400. Requires active tenant and a non-retired owned endpoint; enabled and disabled endpoints can rotate.
At most two secret versions are active. Another rotation immediately removes the oldest version. Deliveries during overlap carry both signatures. Rotation does not change endpoint enabled state.
DELETE /v1/webhooks/{id}
Retire an endpoint and release its registration slot.
Required scope:webhooks:manage.
Request. No request body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
Idempotency-KeyOptional
string (header)
Optional: one stable operation key, 1 to 128 visible ASCII characters, no whitespace or duplicate header lines. Matching successful requests replay within 24 hours. See request replay below.
idRequired
string (path)
Webhook endpoint ID returned by registration. Keep IDs opaque. A path ID is at most 1500 UTF-8 bytes; slash, dot-only segments and reserved double-underscore names are not addressable.
Response 204: first successful execution. Empty body. Do not parse as JSON.
Request replay
With Idempotency-Key, the first successful response has Aegis-Idempotency-Replayed: false; a matching completed replay has Aegis-Idempotency-Replayed: true. Both have a fresh Aegis-Request-Id. Without the request header, the replay response header is absent. Read key validation, expiry, conflicts and recovery.
A matching replay returns the same successful status and body shown above, including an empty body for 204. It describes the earlier operation; read the resource for current state. Current authorization and resource guards still apply.
Retains an owned tombstone for diagnostics; does not promise a retention period. Repeating retirement of that owned endpoint returns 204, even without an operation key.
Cancels pending work and prevents new sends. Already in-flight HTTP requests cannot be recalled. List omits the endpoint; update, test and rotate refuse it with 404. Delivery diagnostics remain readable with the retained ID. Requires active tenant; foreign/missing IDs return 404.
GET /v1/webhooks/{id}/deliveries
Inspect safe delivery diagnostics, including retired endpoint history.
Required scope:webhooks:manage.
Request. No request body.
Field
Type
Description
AuthorizationRequired
string (header)
Bearer aegis_<key-id>_<secret>. Use a server API key with the scope below.
idRequired
string (path)
Webhook endpoint ID returned by registration. Keep IDs opaque. A path ID is at most 1500 UTF-8 bytes; slash, dot-only segments and reserved double-underscore names are not addressable.
limitOptional
integer (query)
Page size 1 to 100, default 25.
cursorOptional
string (query)
Opaque nextCursor, 1 to 32768 characters. Bound to tenant, endpoint, state filter and limit. Omit on the first request.
stateOptional
string (query)
Optional: pending, delivering, delivered or dead. retrying and cancelled are not accepted filters.
Example request
GET /v1/webhooks/{id}/deliveries?limit=25&state=delivered HTTP/1.1
Host: aegis-api.theauroraedge.com
Authorization: Bearer aegis_<key-id>_<secret>
Registration ID, including a retained retired registration.
data[].eventIdWithin data
string
Stable application event ID.
data[].typeWithin data
string
One of the six application event names.
data[].stateWithin data
string
pending, delivering, delivered or dead. There is no retrying or cancelled API state.
data[].attemptsWithin data
integer
Number of attempts started, zero before the first send. pending with attempts > 0 is shown as retrying in the dashboard.
data[].createdAtWithin data
string
RFC 3339 UTC record timestamp.
data[].updatedAtWithin data
string
RFC 3339 UTC record timestamp.
data[].firstAttemptAtWithin data
string | null
RFC 3339 UTC time for this action, null if absent. nextAttemptAt is not a guarantee of exact arrival time.
data[].lastAttemptAtWithin data
string | null
RFC 3339 UTC time for this action, null if absent. nextAttemptAt is not a guarantee of exact arrival time.
data[].nextAttemptAtWithin data
string | null
RFC 3339 UTC time for this action, null if absent. nextAttemptAt is not a guarantee of exact arrival time.
data[].deliveredAtWithin data
string | null
RFC 3339 UTC time for this action, null if absent. nextAttemptAt is not a guarantee of exact arrival time.
data[].lastStatusCodeWithin data
integer | null
Last receiver HTTP status, 100 to 599, or null when none was received.
data[].lastErrorWithin data
string | null
Safe failure token from the failure catalogue below, or null. No raw exception or receiver body.
data[].eventWithin data
object | null
Safe application envelope when its source event exists, otherwise null. No signature or receiver response is included.
data[].event.idWhen event is present; Always
string
Opaque event ID, stable across retries and endpoints. Up to 200 ASCII letters, digits, underscores or hyphens. Do not assume UUID formatting or parse its internal structure.
data[].event.typeWhen event is present; Always
string
One of the six application event names above, or webhook.test.
data[].event.apiVersionWhen event is present; Always
string
v1.
data[].event.occurredAtWhen event is present; Always
string
RFC 3339 UTC occurrence time, not delivery time. May precede event allocation.
data[].event.tenantIdWhen event is present; Always
string
Tenant identity; validate against your receiver configuration.
data[].event.idempotencyKeyWhen event is present; Always
string
Exactly the event id. Not the outbound Idempotency-Key request header.
data[].event.dataWhen event is present; Always
object
Event-specific payload. Fields below have explicit type conditions.
data[].event.data.clientIdWhen event is present; Application events
string
Application ID.
data[].event.data.externalRefWhen event is present; Application events
string | null
Your application reference, or null.
data[].event.data.statusWhen event is present; Application events
string
pending, needs_info, hold, pending_approval, active or rejected.
data[].event.data.previousStatusWhen event is present; Application events
string | null
Previous status; null on submission, and can equal status when no transition occurred.
data[].event.data.sequenceWhen event is present; Application events
integer
Positive event allocation sequence per application, not a snapshot version. Subscription gaps and out-of-order delivery are normal.
data[].event.data.reasonWhen event is present; status.changed only
string
decision, info_request, pair_change or repair.
data[].event.data.requestIdWhen event is present; All info_request events
string | null
Information-request ID, not the HTTP request diagnostic ID.
data[].event.data.requestSeqWhen event is present; All info_request events
number | null
Request sequence within the application.
data[].event.data.roundWhen event is present; All info_request events
number | null
Response round within the request.
data[].event.data.openItemsWhen event is present; info_request.raised only
number | null
Count of open and reopened items awaiting the applicant.
data[].event.data.commentWhen event is present; info_request.raised only
string | null
Applicant-facing request cover note, or null. Limited to 2000 characters on entry. Not a decision comment.
data[].event.data.itemsWhen event is present; info_request.raised only
object[]
Only items awaiting applicant action. May be empty; a request accepts at most 50 items.
data[].event.data.items[].itemIdWhen event is present; Within raised items
string | null
Request item identity.
data[].event.data.items[].typeWhen event is present; Within raised items
string | null
question, field or document.
data[].event.data.items[].promptWhen event is present; Within raised items
string | null
Applicant-facing prompt, limited to 500 characters on entry. No answer value is included.
data[].event.data.answeredItemsWhen event is present; info_request.answered only
number | null
Count of answered items awaiting staff review.
data[].event.data.actorRoleWhen event is present; info_request.answered only
string
Exactly customer.
nextCursorAlways
string | null
Opaque continuation token, null on the final page.
Sorts by createdAt descending, then delivery ID descending. Query limit is 65536 encoded characters. Unknown/duplicate query names, invalid filters and mismatched cursors return 400 invalid-argument. Requires active tenant and endpoint ownership, including retained retired endpoints.
The nested event can be null if the source event is absent. Never includes signatures, secret material, raw transport exceptions or receiver response bodies. No replay API or retention period is promised.
Application events and test diagnostic
Event
When
Payload additions
application.submitted
Applicant submits. Status may remain pending.
Common application fields only; previousStatus is null.
application.status.changed
Application status changes.
reason: decision, info_request, pair_change or repair.
application.info_request.raised
A request is raised, items are added or answered items reopened.
requestId, requestSeq, round, openItems, comment and awaiting-action items.
application.info_request.answered
Applicant submits a response round.
requestId, requestSeq, round, answeredItems and actorRole: customer.
application.info_request.closed
Staff accept the final answered item.
requestId, requestSeq and round only, in addition to common fields.
application.info_request.cancelled
A request is cancelled, manually or by an applicable application transition.
requestId, requestSeq and round only, in addition to common fields.
webhook.test
Explicit synchronous test send.
data contains only endpointId. No application read is needed.
Subscribe to exact application names or a matching wildcard. webhook.test cannot be subscribed to; send it through the test route. A single action can emit a status event and a request event with distinct IDs and sequence numbers. Closed and cancelled request events have no actorRole, reason, comment, answers or internal terminal notes.
Opaque event ID, stable across retries and endpoints. Up to 200 ASCII letters, digits, underscores or hyphens. Do not assume UUID formatting or parse its internal structure.
typeAlways
string
One of the six application event names above, or webhook.test.
apiVersionAlways
string
v1.
occurredAtAlways
string
RFC 3339 UTC occurrence time, not delivery time. May precede event allocation.
tenantIdAlways
string
Tenant identity; validate against your receiver configuration.
idempotencyKeyAlways
string
Exactly the event id. Not the outbound Idempotency-Key request header.
dataAlways
object
Event-specific payload. Fields below have explicit type conditions.
data.clientIdApplication events
string
Application ID.
data.externalRefApplication events
string | null
Your application reference, or null.
data.statusApplication events
string
pending, needs_info, hold, pending_approval, active or rejected.
data.previousStatusApplication events
string | null
Previous status; null on submission, and can equal status when no transition occurred.
data.sequenceApplication events
integer
Positive event allocation sequence per application, not a snapshot version. Subscription gaps and out-of-order delivery are normal.
data.reasonstatus.changed only
string
decision, info_request, pair_change or repair.
data.requestIdAll info_request events
string | null
Information-request ID, not the HTTP request diagnostic ID.
data.requestSeqAll info_request events
number | null
Request sequence within the application.
data.roundAll info_request events
number | null
Response round within the request.
data.openItemsinfo_request.raised only
number | null
Count of open and reopened items awaiting the applicant.
data.commentinfo_request.raised only
string | null
Applicant-facing request cover note, or null. Limited to 2000 characters on entry. Not a decision comment.
data.itemsinfo_request.raised only
object[]
Only items awaiting applicant action. May be empty; a request accepts at most 50 items.
data.items[].itemIdWithin raised items
string | null
Request item identity.
data.items[].typeWithin raised items
string | null
question, field or document.
data.items[].promptWithin raised items
string | null
Applicant-facing prompt, limited to 500 characters on entry. No answer value is included.
data.answeredItemsinfo_request.answered only
number | null
Count of answered items awaiting staff review.
data.actorRoleinfo_request.answered only
string
Exactly customer.
data.endpointIdwebhook.test only
string
Registration ID. The only data field on webhook.test.
Examples are independent scenarios. API and webhook projections exclude structured form answers, uploaded files, screening results and risk assessments. Names, applicant-facing prompts and free text may contain personal data. Decision comments are only available through application reads when explicitly shared with clients.
Verify before parsing JSON
Capture the exact raw bytes before JSON middleware. Compute HMAC-SHA256 over the decimal timestamp, a literal dot and the raw body, using the returned secret directly as an opaque UTF-8 string. Do not decode it or strip a prefix. Compare lowercase-hex v1 signatures in constant time and reject timestamps more than 300 seconds before or after your clock.
Field
Type
Description
Aegis-Webhook-IdEvery signed send
string (HTTP header)
Event ID.
Aegis-Webhook-EventEvery signed send
string (HTTP header)
Event type.
Aegis-Webhook-AttemptEvery signed send
string (HTTP header)
Decimal attempt number starting at 1, maximum configured attempts (at most 24). Test uses 1.
Aegis-Webhook-TimestampEvery signed send
string (HTTP header)
Decimal Unix seconds for this delivery attempt.
Aegis-Webhook-SignatureEvery signed send
string (HTTP header)
Space-separated v1=lowercase-hex HMAC values, one per active secret (at most two).
HostEvery signed send
string (HTTP header)
Receiver hostname.
Content-TypeEvery signed send
string (HTTP header)
application/json.
User-AgentEvery signed send
string (HTTP header)
Aegis-Webhooks/1.0.
Content-LengthEvery signed send
string (HTTP header)
Raw request body byte count. Sent over HTTP as decimal text.
After verification, validate tenantId and the signed id/type against their headers. Atomically deduplicate and enqueue before returning a quick 2xx. Return failure if durable acceptance fails; a previously committed duplicate should receive 2xx without duplicate business work.
Retries, state and automatic disabling
Behavior
Contract
Acknowledgement
2xx is success. Redirects are failures and are not followed. Keep receiver bodies small; responses are bounded to 8192 bytes and may be discarded.
Timeout
5-second connection timeout and 10-second total transport timeout.
Attempt and time bounds
Default 12 attempts including the first; configured bound 1 to 24. Stop at the attempt cap or 24 hours after the first attempt, whichever is reached first.
Backoff
30 seconds times 2 to the power of attempts minus 1, capped at 6 hours, with a random delay between half and all of that nominal value.
Retry-After
For 429 or 503, one valid seconds value or HTTP date is honored, clamped between zero and 6 hours and within the remaining delivery window. Invalid or duplicate values use normal backoff.
pending
Awaiting the first send or another attempt. attempts > 0 is displayed as retrying in the dashboard.
delivering
An attempt is in progress.
delivered
Receiver acknowledged successfully.
dead
Terminal delivery. Includes exhausted attempts, expired window or lifecycle cancellation. Inspect lastError.
HTTP 410
Automatically disables the endpoint with disabledReason http_410. It does not retire the registration or free a slot.
Other automatic disabling
20 consecutive terminal delivery failures, or a terminal failure with no success for 24 hours. Invalid health metadata also fails closed. Staff are notified.
Fetch current state for every unseen event
Delivery is at least once and can be out of order. A larger sequence means later event allocation, not necessarily a newer state. Process every unseen verified event ID and GET the application. Serialize the read and save per application across workers. Keep deduplication durable across restarts.
Disable, re-enable, rotate and retire
PATCH status: disabled cancels pending work. Re-enabling allows events whose occurrence time is at or after re-enable. An older event does not become eligible merely because its fanout was delayed. Cancelled and terminal deliveries do not resume. An HTTP request already in flight may still arrive or finish.
Rotation supports up to two active secrets during its bounded grace period. Trust both privately during cutover, remove the old secret after previousSecretExpiresAt, and avoid a second rotation until you intend to discard the oldest version. With zero grace, the old secret ends immediately. If an operation-key replay returns only identity, explicitly rotate with a new key to recover a lost secret.
DELETE retires the registration, releases its slot and keeps an owned record for diagnostics. Save the ID before retirement; it disappears from GET webhooks. Retired endpoints cannot be updated, tested or rotated. No retention period or replay API is promised.
Diagnostic failure tokens
lastError is null or a safe token. HTTP tokens have the form webhook_http_NNN for a status from 100 to 599. Other possible values are listed here; do not treat a token as an instruction to repeat an unsafe operation.
Inspect delivery diagnostics and endpoint health, fix the receiver, test signing, then re-enable if appropriate. Reconcile with an overlapping updatedSince application sweep at least daily, more often when faster recovery matters, independently of receiver availability. Save a checkpoint only after all pages succeed. This restores current state, not lost historical event detail.
Use the quickstart for executable client, receiver and worker patterns.