Get a received email's raw content
Returns the original message exactly as received, in RFC 5322 (MIME) format, as a message/rfc822 download. Use it when you need the exact bytes:
- Full headers.
- Signatures.
- Your own MIME parsing.
For parsed fields use Get a received email and Get a received email's body.
Returns 404 when the message is unknown or its stored content has expired (received emails are retained for 30 days). A received message, including its attachments, cannot exceed 20 MB.
Request
- Base URL: https://us1.platform.bird.com
- URL: https://us1.platform.bird.com/v1/email/inbound-messages/{inbound_message_id}/raw
- Auth: one of:
- HTTP bearer
- API key in cookie bird_session
Headers
Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.
Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.
Response
The original message in RFC 5322 (MIME) format.
Changes
No recorded changes to this operation across all 2 revisions of this API.