Skip to content

app.webhook_deliveries

TablePartitioned by monthRow level security on

One delivery of one domain event to one endpoint (ADR 0003), in monthly partitions. Retried with exponential backoff for 72 hours; a replay is a new delivery of the same event.

Primary key: id, created_at

Columns of app.webhook_deliveries
ColumnTypeNullableDescription
iduuidNoDelivery id, UUID v7; sent as XOS-Delivery.
org_iduuidNoOwning org, derived from app.webhook_endpoints on insert; never accepted from the caller and never changed.References app.organizations.id
webhook_endpoint_iduuidNoEndpoint the event is posted to.References app.webhook_endpoints.id
domain_event_iduuidNoDomain event delivered; the body is built from it, so every attempt sends the same body.References app.domain_events.id
delivery_statusapp.delivery_statusNoPending, Delivering, Delivered, Retrying or Expired.
attempt_countsmallintNoAttempts started.
next_attempt_attimestamp with time zoneNoWhen the dispatcher may try next.
last_attempt_attimestamp with time zoneYesWhen the latest attempt started.
last_response_statussmallintYesHTTP status of the latest response, or null when no response arrived.
last_errortextYesNetwork or HTTP error of the latest failed attempt.
delivered_attimestamp with time zoneYesWhen a 2xx response arrived.
replay_requested_byuuidYesPerson who replayed the event from Atlas, for a replay.References app.people.id
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.