Get webhook delivery history
Returns the delivery history for a webhook subscription, including status and response information.
get/api/webhookSubscriptions.deliveries
Query parameters
workspace_idstring required
The ID of the workspace
subscription_idstring
The ID of the webhook subscription (optional - if not provided, returns all deliveries for the workspace)
limitinteger
Number of deliveries to return (1-100)
offsetinteger
Offset for pagination
Response
List of webhook deliveries
Example response
{
"deliveries": [
{
"id": "whdel_x1y2z3",
"subscription_id": "whsub_a1b2c3d4e5f6",
"event_type": "contact.created",
"status": "delivered",
"attempts": 1,
"max_attempts": 10,
"next_attempt_at": "2024-01-15T10:35:00Z",
"last_attempt_at": "2024-01-15T10:30:00Z",
"delivered_at": "2024-01-15T10:30:00Z",
"last_response_status": 200,
"last_response_body": "{\"received\": true}",
"created_at": "2024-01-15T10:30:00Z"
}
],
"total": 150,
"limit": 20
}