curl --request GET \
--url https://api.example.com/v1/webhooks/{id}/logs{
"data": {
"logs": [
{
"delivery_id": "<string>",
"event": "<string>",
"status": "<string>",
"response_status_code": 123,
"response_body": "<string>",
"duration_ms": 123,
"attempt": 123,
"error": "<string>",
"delivered_at": "<string>"
}
]
},
"meta": {
"page": 123,
"per_page": 123,
"total": 123
}
}Inspect recent delivery attempts for a webhook, including status codes and response bodies
curl --request GET \
--url https://api.example.com/v1/webhooks/{id}/logs{
"data": {
"logs": [
{
"delivery_id": "<string>",
"event": "<string>",
"status": "<string>",
"response_status_code": 123,
"response_body": "<string>",
"duration_ms": 123,
"attempt": 123,
"error": "<string>",
"delivered_at": "<string>"
}
]
},
"meta": {
"page": 123,
"per_page": 123,
"total": 123
}
}success, failed, or pendingAuthorization: Bearer wbk_your_api_key_here
webhooks:read permission. Logs are retained for 30 days.Show properties
Show Log object
X-LeadLex-Delivery-ID header)success, failed, or pendingtimeout, connection_refused, dns_failure, http_error)curl "https://data.leadlex.com/functions/v1/api-gateway/v1/webhooks/7f3c4d2a-1b8e-4a9c-9d6f-2e5b8c7a1f3d/logs?status=failed&per_page=20" \
-H "Authorization: Bearer wbk_your_api_key_here"
{
"data": {
"logs": [
{
"delivery_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"event": "contact.created",
"status": "success",
"response_status_code": 200,
"response_body": "OK",
"duration_ms": 234,
"attempt": 1,
"error": null,
"delivered_at": "2026-04-17T14:23:05Z"
},
{
"delivery_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"event": "deal.updated",
"status": "failed",
"response_status_code": 500,
"response_body": "Internal Server Error",
"duration_ms": 1820,
"attempt": 3,
"error": "http_error",
"delivered_at": "2026-04-17T14:20:11Z"
}
]
},
"meta": {
"page": 1,
"per_page": 20,
"total": 142
}
}
| Status | Code | Description |
|---|---|---|
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing webhooks:read permission |
| 404 | webhook_not_found | No webhook with this ID in your workspace |
| 429 | rate_limited | Rate limit exceeded |