Skip to main content
GET
Inboxes - Get Raw Message
This API reference has not been updated for the currently available endpoint.
Returns the original RFC 822 source of one message as message_id, size, a short-lived download_url and expires_at. The bytes are not inlined — fetch download_url before it expires. Use this for headers, DKIM or exact MIME structure; for parsed text and HTML use get_agentmail_inbox_message.

Example

First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: GET /apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/raw
  • Availability: disabled
This endpoint is disabled and cannot be called. Its historical request, schema and pricing declarations are retained for reference.
  • Request URL template: https://api.aisa.one/apis/v1/agentmail/inboxes/{inbox_id}/messages/{message_id}/raw
  • inbox_id: path; required
  • message_id: path; required
  • Runtime facts: b99ca4149ff3daae12d76cfc531f5283e79e7d7a4e0325efb1f93efd8385607e
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported. Currently disabled.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

inbox_id
string
required

The ID of the inbox.

message_id
string
required

ID of message.

Response

Response with status 200

CloudFront signed URL to download the raw .eml file.

download_url
string
required

CloudFront signed URL to download the raw message. Expires at expires_at.

expires_at
string<date-time>
required

Time at which the download URL expires.

message_id
string
required

ID of the message.

size
integer
required

Size of the raw message in bytes.