Skip to content

Download raw RFC 822 message source​

GET
/api/v1/messages/{id}/raw

Returns the whole source by default. Pass limit to read only the first N bytes, which is what the UI's Raw tab does so that opening a multi-megabyte message neither transfers nor renders all of it.

Parameters​

Query Parameters

limit

Maximum number of bytes to return, counted from the start of the message.

Type
integer
Example131072
Minimum
1

Responses​

Raw RFC 822 message bytes, truncated to limit when given (a limit past the end returns the whole source). Sent with Content-Type: message/rfc822 and Cache-Control: private, max-age=31536000, immutable, and no Content-Disposition: use /export for a download.

message/rfc822

Samples​

Powered by VitePress OpenAPI

Released under the MIT / Apache 2.0 License.