Mailboxes
Get a message's raw MIME
Returns a short-lived URL for the message exactly as it was received (`message/rfc822`). Sent messages have no stored MIME.
GET
Returns a short-lived URL for the message exactly as it was received (message/rfc822). Sent messages have no stored MIME.
apiKeyheader
x-api-key<token>id*stringMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$messageId*stringMatch
^msg_[0-9a-hjkmnp-tv-z]{16,24}$MailboxDownloadUrl
application/json- response
url*stringexpiresAt*stringimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.mailboxes.getMessageRaw({ "id": "example", "messageId": "example"});Example Response
{ "url": "string", "expiresAt": "string"}Related documentation
Get a message attachment
Returns a short-lived download URL for one of the message's attachments. Use this endpoint to get a message attachment through the Samva email API.
List mailbox decisions awaiting you
Returns held sends this caller can approve and quarantined messages this caller may release across their visible mailboxes.