Messages
Retrieve message
Retrieve a specific message by its ID. By default, the response includes the parsed Nodemailer object and raw message content. You can control what's included using query parameters.
get/v1/messages/{id}
Request
- Base URL: https://api.forwardemail.net
- URL: https://api.forwardemail.net/v1/messages/{id}
- Auth: HTTP basic
Path parameters
idstring required
Message ID
Query parameters
emlboolean
Return raw EML format instead of JSON
nodemailerboolean
Include parsed Nodemailer object
attachmentsboolean
Include attachments in Nodemailer object
rawboolean
Include raw message content
Response
Message retrieved successfully
Example response
{
"id": "message123",
"root_id": "root123",
"folder_id": "folder123",
"folder_path": "INBOX",
"thread_id": "thread123",
"header_message_id": "<message123@example.com>",
"is_unread": true,
"is_flagged": false,
"is_deleted": false,
"is_draft": false,
"is_junk": false,
"is_copied": false,
"is_encrypted": false,
"is_searchable": true,
"is_expired": false,
"has_attachment": false,
"retention_date": null,
"internal_date": "2025-01-01T00:00:00.000Z",
"header_date": "2025-01-01T00:00:00.000Z",
"subject": "Test Message",
"flags": [
"\\Seen"
],
"size": 1024,
"uid": 1,
"modseq": 1,
"transaction": "API",
"remote_address": "127.0.0.1",
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"object": "message"
}Changes
No recorded changes to this operation across all 1 revision of this API.