Skip to content

Export a message as EML or JSON​

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

Parameters​

Query Parameters

format

eml (the default) returns the raw RFC 822 bytes as a downloadable file. json returns the same Message object as GET /messages/{id}, as a download.

Type
string
Valid values
"eml""json"
Default
"eml"

Responses​

Exported message with Content-Disposition: attachment; filename="<id>.eml" or "<id>.json". eml is message/rfc822 with Cache-Control: private, max-age=31536000, immutable; json is application/json with Cache-Control: no-store.

Samples​

Powered by VitePress OpenAPI

Released under the MIT / Apache 2.0 License.