Get a message
Returns full bodies plus attachment metadata. Also marks the message as read.
Some mail clients paste a screenshot straight into the HTML as a data: URI, which can be hundreds of KB inside htmlBody. Pass inlineImages=refs to get each one replaced by attachment:<id>, the id of the attachment holding the same image, and that attachment marked inline: true. Fetch it from the attachments endpoint. The response then also carries inlineImages: { replaced, unmatched }; unmatched counts images that had no matching attachment and were removed with no pointer. Without the parameter htmlBody is returned exactly as received.
Request
- Base URL: https://anjal.app
- URL: https://anjal.app/v1/inboxes/{id}/messages/{messageId}
- Auth: API key in header X-API-Key
Query parameters
refs replaces inline data: images in htmlBody with attachment:<id> references.
Response
OK
Example response
{
"attachments": [
{
"contentType": "application/pdf"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.