Skip to main content

Event List

Retrieve a paginated list of callback events for a mailbox within a specified date range and event type filter.

Endpoint

POST /v2/callbacks/event-list

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintNoFilter events to a specific mailbox.
eventObjectsNoSee ENUMsFilter by event type. Omit to return all event types.
beginDatedatetimeNoISO 8601Start of the date range to query.
endDatedatetimeNoISO 8601End of the date range to query.
pageNointNoMinimum: 1Page number for paginated results. Defaults to 1.
recordsPerPageintNoMaximum: 500Number of records per page. Defaults to 100.
{
"mailboxId": 12345,
"event": "Parcel",
"beginDate": "2026-05-01T00:00:00Z",
"endDate": "2026-05-07T23:59:59Z",
"pageNo": 1,
"recordsPerPage": 100
}

Response

Returns a paginated array of callback event records matching the query criteria.

{
"success": true,
"data": {
"totalRecords": 12,
"pageNo": 1,
"recordsPerPage": 100,
"events": [
{
"callbackEventId": 88001,
"callbackId": 7001,
"event": "Parcel",
"mailboxId": 12345,
"objectId": 5550001,
"status": "Active",
"created": "2026-05-03T08:22:00Z",
"delivered": "2026-05-03T08:22:05Z",
"httpStatus": 200
}
]
}
}

ENUMs

Objects

See Enums Reference for the complete Objects ENUM.

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/callbacks/event-list" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 12345, "event": "Parcel", "beginDate": "2026-05-01T00:00:00Z", "endDate": "2026-05-07T23:59:59Z", "pageNo": 1, "recordsPerPage": 100 }'

See Also