Skip to main content

Get Queue by ID

Retrieve the current delivery queue entry and status for a specific callback.

Endpoint

GET /v2/callbacks/get-queue-by-id?callbackId={callbackId}

Query Parameters

ParameterTypeDefaultDescription
callbackIdint— (required)The unique ID of the callback whose queue entry to retrieve.

Response

Returns a CallBackQueueIDInfo object with the callback's current queue position and delivery status details.

{
"success": true,
"data": {
"callbackId": 7001,
"url": "https://app.example.com/webhooks/ecgrid",
"event": "Parcel",
"queuedAt": "2026-05-07T09:00:00Z",
"lastAttempt": "2026-05-07T09:01:00Z",
"attempts": 1,
"status": "Active",
"lastHttpStatus": 200
}
}

Code Examples

curl -X GET "https://rest.ecgrid.io/v2/callbacks/get-queue-by-id?callbackId=$CALLBACK_ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also