Get one email message with its full body and attachments
Returns one email message with its full body, fetched live from the mail provider (the body on the list endpoint is only the stored snippet), plus metadata for each attachment. Download an attachment's bytes with the attachment endpoint below.
threadId and messageId are the threadId / messageId values returned by GET /api/inboxes/{channelId}/threads. The thread must belong to the inbox and the message to the thread. Only email messages are supported; other message types return 400.
Inline images in an HTML body reference attachments as cid:<contentId>.
Request
- Base URLhttps://core-api.getaptly.com
- Auth
- API key in header x-token
- or API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
External channel meta ID (meta.id) of the inbox.
Thread id from the messages list.
Message id from the messages list.
Response
The message.
Changes
No recorded changes to this operation across all 1 revision of this API.