Inbound

List a received message's attachments

Requires scope: read. Every file in the message, embedded images included (inline: true). Files that could not be kept are listed under omitted.

get/v1/messages/received/{id}/attachments

Request

  • Base URL: https://api.mails.ai
  • URL: https://api.mails.ai/v1/messages/received/{id}/attachments
  • Auth: HTTP bearer

Path parameters

idstring required

Received message id (rcv_…).

Response

The message's attachments.

omitted_countinteger

How many files could not be kept: those in omitted, plus any past the 100 it lists. Present only when above 0.

raw_omitted'too_large' | 'budget' | 'over_quota' | 'unavailable'

Present when the raw email was not kept, and why, with the same values as raw_omitted on the received message. Without the raw email none of the message's files can be downloaded.

Changes

No recorded changes to this operation across all 1 revision of this API.