
Get Raw Message
GET/v0/inboxes/{inbox_id}/messages/{message_id}/raw
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentmail",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"size": 1,
"expires_at": "{expires_at}",
"message_id": "{message_id}",
"download_url": "{download_url}"
}
}
Example values, built from the documented fields.
Free
Calls cost nothing.
API-wide: 100% success · 615 ms median · 30 days
About this endpoint
Get the original raw RFC 2822 email content including all headers, MIME parts, and encoded attachments.
Path parameters
inbox_idrequiredstringGoes in the path: replace {inbox_id} in the request.message_idrequiredstringGoes in the path: replace {message_id} in the request.Response types
sizenumberexpires_atstringmessage_idstringdownload_urlstringMore from AgentMail
- Get InboxGET/v0/inboxes/{inbox_id}Free
- Reply To MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply$0.01 per callFixed
- Get MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Reply All MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all$0.01 per callFixed
- Get DraftGET/v0/inboxes/{inbox_id}/drafts/{draft_id}Free
- Update MessagePATCH/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Create DraftPOST/v0/inboxes/{inbox_id}/drafts$0.01 per callFixed
- List ThreadsGET/v0/inboxes/{inbox_id}/threadsFree
- List DraftsGET/v0/inboxes/{inbox_id}/draftsFree
- Update InboxPATCH/v0/inboxes/{inbox_id}Free
- Get ThreadGET/v0/inboxes/{inbox_id}/threads/{thread_id}Free
- Send DraftPOST/v0/inboxes/{inbox_id}/drafts/{draft_id}/sendFree