Skip to content
This site documents the main branch, which may hold changes not yet released. Latest release: v0.3.0 (changelog).

Webhook delivery log, newest first

GET
/capture/webhooks/deliveries
curl --request GET \
--url 'http://localhost:3000/capture/webhooks/deliveries?payloadFormat=unified&status=pending&limit=50' \
--header 'Authorization: Bearer <token>'
endpointId
string
/^whe_[A-Za-z0-9-]{1,64}$/
payloadFormat
string
Allowed values: unified resend brevo
messageId
string
/^msg_[A-Za-z0-9-]{1,64}$/
status
string
Allowed values: pending retrying succeeded failed
limit
integer
default: 50 >= 1 <= 200
cursor
string
/^whd_[A-Za-z0-9-]{1,64}$/
page
integer
>= 1 <= 100000

One page.

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
/^whd_[A-Za-z0-9-]{1,64}$/
endpointId
required
string
/^whe_[A-Za-z0-9-]{1,64}$/
messageId
required
Any of:
string
/^msg_[A-Za-z0-9-]{1,64}$/
eventId
required
Any of:
string
/^evt_[A-Za-z0-9-]{1,64}$/
payloadFormat
required
string
Allowed values: unified resend brevo
canonicalEvent
required
string
Allowed values: email.sent email.delivered email.deferred email.soft_bounced email.hard_bounced email.complained email.opened email.clicked email.suppressed email.failed email.invalid
dialectEvent
required
string
recipient
required
string | null
status
required
string
Allowed values: pending retrying succeeded failed
attemptCount
required
integer
>= -9007199254740991 <= 9007199254740991
nextAttemptAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
lastStatusCode
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
replayOf
required
Any of:
string
/^whd_[A-Za-z0-9-]{1,64}$/
replayMode
required
Any of:
string
Allowed values: exact resign
endpointUrl
required
string | null
durationMs
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$/
nextCursor
required
string | null
total
required
integer
<= 9007199254740991

Example

{
"data": [
{
"payloadFormat": "unified",
"canonicalEvent": "email.sent",
"status": "pending",
"replayMode": "exact"
}
]
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: validation_error

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: unauthorized

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

WWW-Authenticate
required

Sent with every 401.

string
Allowed value: Bearer

Sent with every 401.

Error: forbidden

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: validation_error

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.

Error: internal_error

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: unauthorized forbidden validation_error not_found conflict idempotency_mismatch rate_limited payload_too_large chaos_injected wait_timeout internal_error
message
required
string
details
requestId
required
string

Example

{
"error": {
"code": "unauthorized"
}
}
X-Request-Id
required

Id of the request (req_…), also the id of its request log row.

string

Id of the request (req_…), also the id of its request log row.