Read webhook deliveries
Read the recent delivery log of one webhook endpoint, newest first: status, attempts, the receiver's response code and error.
- Key permissions
- Read chats and messages + Manage webhooks
- Authentication
Authorization: Bearer $WHATSYNC_API_KEY
How keys work
How it works
Payloads are kept 7 days.
Body parameters
webhookIdstringrequiredid from list_webhooks or create_webhook, such as we_...
statuspending | delivering | delivered | failed | paused | cancelledoptionalSee the example and input schema for this value.
limitintegeroptionalMaximum results per page. See the schema for bounds and defaults.
cursorstringoptionalOpaque next_cursor from the previous page; pass it unchanged.
Conditions and pagination
- Pass the returned next_cursor unchanged as cursor, keeping the same filters. Stop when it is null. A page is not the complete history.
Response
HTTP 200 returns this tool's JSON directly, without an MCP content wrapper. Optional provider fields may be absent or null; check pagination and coverage before treating a page as complete.
Every response includes X-Request-Id. Errors use the shared error format and retry rules.
Schemas
Input JSON Schema
Input JSON Schema
{
"type": "object",
"properties": {
"webhookId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id from list_webhooks or create_webhook, such as we_..."
},
"status": {
"type": "string",
"enum": [
"pending",
"delivering",
"delivered",
"failed",
"paused",
"cancelled"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"maxLength": 500
}
},
"required": [
"webhookId"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Response JSON Schema
Response JSON Schema
{
"type": "object",
"properties": {
"deliveries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"event_id": {
"type": "string"
},
"event_type": {
"type": "string"
},
"status": {
"type": "string"
},
"attempts": {
"type": "number"
},
"last_status_code": {
"type": [
"number",
"null"
]
},
"last_error": {
"type": [
"string",
"null"
]
},
"delivered_at": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
}
},
"next_cursor": {
"type": [
"string",
"null"
]
}
},
"required": [],
"additionalProperties": true
}