Get receipts
Ask what one message's delivery and read receipts say now
Asks the channel behind a message's line what it can prove about that message
now, and answers with what it said. Nothing is stored, and the answer does not change
the message's status. For receipts as they
happen, open the stream with ?events=receipts.
curl https://api.mapier.ai/v1/messages/0192a7c4-5a31-7bd2-8e6f-1d0c9b8a7f65/receipts \
-H "Authorization: Bearer $MAPIER_API_KEY" \
-H "x-mapier-version: 2026-12-01"{
"messageId": "0192a7c4-5a31-7bd2-8e6f-1d0c9b8a7f65",
"upstreamMessageId": "8C2E4A61-3B7D-4F90-A1C5-6D8E0F2B4A73",
"delivered": true,
"read": null,
"checkedAt": "2026-08-24T18:09:40.000Z",
"upstreamStatus": "delivered"
}messageId in the path is Mapier's id for a message this key can read — the
messageId a receipt or delivery_failed event carries, or the one a
message.* webhook names.
Response
Prop
Type
delivered and read are three-valued. null is "the channel does not know", not "no". A client
that writes if (!answer.delivered) reports a delivered message as undelivered the first time the
channel answers null.
When there is nothing to ask about
409 conflictwithdetails.reason: "no_command"— the message is real and this key may read it, but it was never handed to a channel, so there are no receipts to ask for. That is every inbound message, and every outbound one whose channel never accepted it.404 not_foundwith adetails.reasonis the channel's answer:not_settledmeans the channel knows the message and has not finished sending it, so ask again shortly.not_a_sendandno_echo_guidmean this message will never have receipts.404 not_foundwith no reason is a message this key cannot read, or one the channel does not know.
Errors
| Status | Code | Cause |
|---|---|---|
400 | bad_request | The channel refused the question; details.reason is its own word; or, with a personal access token, no x-mapier-project header |
401 | invalid_credentials | No key, or one that is unknown, revoked or expired |
403 | forbidden | A personal access token not made for this environment, or whose owner's role no longer allows this |
403 | insufficient_scope | The key does not carry the messages:read scope |
404 | not_found | No such message for this key, or the channel's not_settled, not_a_send or no_echo_guid (above) |
409 | conflict | details.reason: "no_command" — the message was never handed to a channel. A channel's own reason may add details.retryAfter: the seconds to wait before asking again |
409 | project_archived | The project is archived |
422 | validation_failed | messageId is not a UUID, or an x-mapier-version that is not a published version |
429 | rate_limited | More than 60 reads a minute on this key (Retry-After), the channel's own rate limit (details.retryAfter when it gave a wait), or too many failed authentications from your calling address |
500 | internal_error | An unexpected error on Mapier's side; quote the error's requestId to support |
503 | line_unavailable | The message's line cannot be asked right now; details.reason says why |
503 | upstream_unavailable | The channel did not answer, or answered with something Mapier could not use |
503 | service_busy | Mapier was too busy to take the request and did nothing; wait details.retryAfter seconds and ask again |
Each call asks the line's channel, so the route has a budget of its own:
60 requests per minute, per key — see Rate limits. To
follow receipts as they arrive, open the stream with ?events=receipts instead
of asking again and again. Every refusal is the one envelope described in
Error codes.