Get Message
Get one captured message and its parsed fields.
Get one captured message and its parsed fields.
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" \
-H "Authorization: Bearer roo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Sample Response
The response is wrapped in a data object.
Response
{
"data": {
"id": "d5949378-3069-4d8f-a8f3-6e5edf5d6060",
"mailbox_id": "35a3cb89-ea59-4ea3-8edc-a5c5f7bf0bda",
"mailbox_address": "[email protected]",
"from": "[email protected]",
"to": "[email protected]",
"subject": "Welcome",
"text_snippet": "Hello",
"html_bytes": 842,
"size_bytes": 1842,
"analysis_status": "ready",
"preview_status": "ready",
"received_at": "2025-01-01T12:00:00Z"
}
}Errors
404 Not Found— the resource does not exist or is not owned by the account.