InboxesMessages

Get Raw Message

CLI:

agentmail inboxes:messages get-raw --inbox-id <inbox_id> --message-id <message_id>
get/v0/inboxes/{inbox_id}/messages/{message_id}/raw

Path parameters

inbox_idstring required

The ID of the inbox.

message_idstring required

ID of message.

Response

message_idstring required

ID of message.

sizeinteger required

Size of message in bytes.

download_urlstring required

S3 presigned URL to download the raw message. Expires at expires_at.

expires_atstring date-time required

Time at which the download URL expires.

Changes

Changed in 2 of the 34 revisions of this API.14

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • removed the success response with the status

      response-success-status-removed

    • added the success response with the status

      response-success-status-added