List deliveries
Every attempt to deliver an event to one endpoint, newest first
Every attempt to deliver an event to one endpoint, newest first: one row per
attempt, so a retried event shows each try. Page with cursor, passing each
answer's nextCursor back until it is null; limit sets how many attempts a
page holds, 1 to 100, and 25 when left out.
This route takes a personal access token
only, and works in the project named by x-mapier-project and the environment
named by x-mapier-environment (live when not sent). An endpoint of another
project or environment is a 404, the same answer an id that never existed gets.
Example request
curl "https://api.mapier.ai/v1/webhook-endpoints/0192a7f0-3c4d-7e5f-8a60-7c8d9e0f1a2b/deliveries?limit=50" \
-H "Authorization: Bearer $MAPIER_TOKEN" \
-H "x-mapier-project: 0192a7b0-1c2d-7e3f-8a4b-5c6d7e8f9a0b" \
-H "x-mapier-version: 2026-12-01"Response
{
"deliveries": [
{
"id": "0192a7f1-4d5e-7f60-9b71-8d9e0f1a2b3c",
"eventId": "0192a7f2-5e6f-7071-8c82-9e0f1a2b3c4d",
"eventType": "message.received",
"attempt": 1,
"status": "succeeded",
"responseStatus": 200,
"responseBodySnippet": "ok",
"error": null,
"scheduledAt": "2026-09-02T14:12:00.000Z",
"deliveredAt": "2026-09-02T14:12:00.180Z",
"durationMs": 180,
"createdAt": "2026-09-02T14:12:00.000Z"
}
],
"nextCursor": null
}eventId is the mapier-event-id header your receiver saw. attempt is 1
for the first try, then 2, 3 and so on for each retry. responseBodySnippet is
the start of your receiver's answer, at most 1 KiB, and error says why an
attempt that got no answer failed.
Errors
| Status | Code | Reason | When | Channels |
|---|---|---|---|---|
| 400 | bad_request | The body is not valid JSON, the channel rejected the request as malformed, or a header the call needs is missing. | All | |
| 401 | invalid_credentials | The API key or personal access token is missing, malformed, unknown, revoked or expired. | All | |
| 403 | forbidden | The credential may not make this call here. details.reason says why. | All | |
| 403 | insufficient_scope | The key or token does not carry the scope this route needs. | All | |
| 404 | not_found | Nothing with that id exists in this project. | All | |
| 409 | project_archived | The key's project is archived. | All | |
| 422 | validation_failed | A field is wrong, and details names each one at its path. | All | |
| 429 | rate_limited | Too many requests for this route's budget. | All | |
| 500 | internal_error | Mapier failed on its side, and has been alerted. | All | |
| 503 | service_busy | Mapier is busy and did nothing with this request. details.retryAfter says how many seconds to wait. | All | |
| 503 | upstream_unavailable | The channel did not take the command, or gave no answer Mapier could use. | All |