Get one recipient of a message
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/messages/v2-messages-recipients-show.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
GET/
Returns one recipient's delivery: where it was sent, the channel, the status and any provider error. The id is the recipient id from the recipient list (delivery_id on the message's recipients), not the participant id.
Path parameters
Your team slug, shown as Team ID next to your API key in Profile.
- Example
your-team
- Example
The message's
id, from the message list. A hash id; unique keys and document numbers are refused with 404.- Example
u7HKhdhT6tkEUy
- Example
The recipient's
id, from the recipient list (delivery_idon the message'srecipients), not the participant id. A hash id; unique keys and document numbers are refused with 404.- Example
XWwTVKIZSuUOcX
- Example
Request body
This operation takes no request body.
Response
200Successful response.
Child fields (13)
callback_error_codestring | nullThe provider's error code, when delivery failed: for emails the bounce type, such as
HardBounce; for texts Twilio's error code.callback_error_messagestring | nullThe provider's details.
channelstring | null- One of:
"email","sms"
- One of:
delivery_statestring | nullFrom the provider's report. Null for older messages.
- One of:
"pending","sending","sent","delivered","failed","unknown"
- One of:
destinationstring | nullWhere it was sent: the email address or phone number at sending time.
destination_namestring | nullidstringThe recipient (delivery) id.
latest_error_reasonstring | nullWhy it failed, in words: the provider's description, or YoPrint's own reason, such as
missing_delivery_destination,mailable_serialization_failedorpostmark_retry_mailable_unavailable(see the retry operations).participantobject | nullThe participant it went to. Its
delivery_*fields are null; read them from this recipient.Child fields (24)
can_receive_mailbooleancan_receive_smsbooleancontactobject | nullThe contact, for
typecontact:first_name,last_name,email,phoneand more.contact_idstring | nulldelivery_channelstring | null- One of:
"email","sms"
- One of:
delivery_created_atstring (date-time) | nulldelivery_destinationstring | nullThe email address or phone number it went to.
delivery_destination_namestring | nulldelivery_idstring | nullThe recipient id: the id the recipient operations take. Null on
participant.delivery_latest_error_reasonstring | nulldelivery_message_idstring | nulldelivery_participant_idstring | nulldelivery_statestring | nullFrom the provider's report. Null for older messages and on
participant.- One of:
"pending","sending","sent","delivered","failed","unknown"
- One of:
delivery_statusstring | null- One of:
"pending","dispatched","dispatch_failed","delivered","delivery_failed"
- One of:
delivery_updated_atstring (date-time) | nullemailstring | nullidstringThe participant id. The recipient operations take
delivery_id, not this.namestring | nullorder_idstring | nullphonestring | nullpurchase_order_idstring | nullstatusstringWhat they receive:
message,notification,allordisabled.trashedbooleantypestringuser: a team member.contact: one of the customer's or vendor's contacts.guest: just a name and email.- One of:
"user","contact","guest"
- One of:
recipient_emailstring | nullThe address, for an email recipient.
recipient_phonestring | nullThe number, for a text recipient.
statusstringpendingalso while a retry is in progress.- One of:
"pending","dispatched","dispatch_failed","delivered","delivery_failed"
- One of:
versionintegerThe record's tracking format:
1, then2once the email or text provider has reported on it. Not the message's version.
Errors
401The API key is missing or wrong (
unauthenticated).403You are not allowed to do this.
api_access_not_in_plan: your team's plan doesn't include API access (Pro and above, with an active subscription or trial), so every request answers this until the team upgrades. When your role lacks the permission the operation needs, the body is only{"message": "Insufficient Permission"}. Other refusals use the error envelope, withunauthorizedoruser_is_not_authorized.- When
- The message is on a sales order or quote you can't message (
user_is_not_authorized). - Fix
- Ask a team admin for permission to message that order.
404Not found.
page_not_found: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's.code: null, with a message that starts "No query results for": there is no record with that id.- When
- The message, or this recipient on it, does not exist.
- Fix
- Use a recipient
idfrom the recipient list.
Related
- GETList a message's recipients
/v2/ api/ store/ {team_slug}/ messages/ {hash_id}/ recipients
