Download Raw Message
Download the original raw MIME message.
Download the original raw MIME message.
Scope: email_testing.messages.read
Path Parameters
idstringrequiredThe ID of the captured message, for example d5949378-3069-4d8f-a8f3-6e5edf5d6060. You get it from List Messages or the message.received webhook. It isn't the email's Message-ID header.
Sample Request
Request
curl "https://api.maileroo.com/v1/email-testing/messages/d5949378-3069-4d8f-a8f3-6e5edf5d6060/raw" \
-H "Authorization: Bearer roo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Sample Response
The response body contains the original raw MIME bytes, not a JSON envelope.
Response headers
HTTP/1.1 200 OK
Content-Type: message/rfc822
Content-Disposition: attachment; filename="d5949378-3069-4d8f-a8f3-6e5edf5d6060.eml"Errors
404 Not Found— the resource does not exist or is not owned by the account.