curl --request POST \
--url https://api.context.dev/v1/webhooks/deliveries \
--header 'Content-Type: application/json' \
--data '
{
"type": "batch",
"status": "failed",
"limit": 25
}
'{
"data": [
{
"id": "<string>",
"event": "batch.completed",
"source": {
"type": "batch",
"batch_id": "<string>"
},
"url": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"retry_expires_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_error": {
"code": "<string>",
"message": "<string>"
}
}
],
"has_more": true,
"next_cursor": "<string>",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}Webhook Deliveries
List Webhook Deliveries
List your batch or monitor webhook deliveries, newest first.
POST
/
webhooks
/
deliveries
curl --request POST \
--url https://api.context.dev/v1/webhooks/deliveries \
--header 'Content-Type: application/json' \
--data '
{
"type": "batch",
"status": "failed",
"limit": 25
}
'{
"data": [
{
"id": "<string>",
"event": "batch.completed",
"source": {
"type": "batch",
"batch_id": "<string>"
},
"url": "<string>",
"status": "pending",
"created_at": "2023-11-07T05:31:56Z",
"retry_expires_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_error": {
"code": "<string>",
"message": "<string>"
}
}
],
"has_more": true,
"next_cursor": "<string>",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}{
"message": "<string>",
"error_code": "INTERNAL_ERROR",
"key_metadata": {
"credits_consumed": 123,
"credits_remaining": 123
}
}0 Credits
Set
type to batch or monitor to choose which deliveries to list. Use a delivery’s id to retrieve its current status, inspect its attempts, or retry delivery.Body
application/json
- By Batch
- By Monitor
Delivery source.
Available options:
batch Filter by batch ID.
Required string length:
1 - 200Pattern:
^[\w-]+$Filter by delivery status.
Available options:
pending, delivering, retrying, delivered, failed, cancelled Only include events created after this ISO 8601 timestamp.
Example:
"2026-09-01T00:00:00Z"
Number of deliveries to return.
Required range:
1 <= x <= 100The next_cursor from the previous response.
Pattern:
^whd_[a-f0-9]{32}$Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.
Maximum array length:
20Required string length:
1 - 50Example:
["production", "team-alpha"]
Response
A page of webhook deliveries
Was this page helpful?