Skip to main content

Queue List

Retrieve a paginated list of callback queue entries for a mailbox, optionally filtered by delivery status.

Endpoint

POST /v2/callbacks/queue-list

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintNoFilter queue entries to a specific mailbox.
statusStatusNoSee ENUMsFilter by delivery status. Omit to return all statuses.
pageNointNoMinimum: 1Page number for paginated results. Defaults to 1.
recordsPerPageintNoMaximum: 500Number of records per page. Defaults to 100.
{
"mailboxId": 12345,
"status": "Active",
"pageNo": 1,
"recordsPerPage": 100
}

Response

Returns a paginated array of callback queue entries showing the delivery state for each registered callback.

{
"success": true,
"data": {
"totalRecords": 3,
"pageNo": 1,
"recordsPerPage": 100,
"queueEntries": [
{
"callbackId": 7001,
"url": "https://app.example.com/webhooks/ecgrid",
"event": "Parcel",
"mailboxId": 12345,
"queuedAt": "2026-05-07T09:00:00Z",
"lastAttempt": "2026-05-07T09:01:00Z",
"attempts": 1,
"status": "Active",
"lastHttpStatus": 200
}
]
}
}

ENUMs

Status

ValueDescription
ActiveCallback is active and pending or delivered
SuspendedCallback delivery is paused
TerminatedCallback is permanently disabled

See Enums Reference for the complete Status ENUM.

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/callbacks/queue-list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 12345, "status": "Active", "pageNo": 1, "recordsPerPage": 100 }'

See Also