<Intro>

<EndpointHeader />

<Description>

Returns metadata for each attachment on a received email: the `attachment_id`, declared filename, MIME type, and size. The same manifest is embedded in [Get a received email](/docs/api/reference/get-inbound-message); fetch an individual attachment's bytes with [Get a received email's attachment](/docs/api/reference/get-inbound-message-attachment).

</Description>

</Intro>

<Payload kind="response">

<Field name="data" type="array of object" required>

<Description>

Metadata for every attachment on the message. Empty when the message had no attachments.

</Description>

<FieldChildren kind="response">

<Field name="id" type="string" prefix="data." required>

<Description>

Attachment ID, stable within the received message.

</Description>

</Field>

<Field name="filename" type="nullable string" prefix="data." required>

<Description>

Filename from the attachment's Content-Disposition, or null when the sender did not name the part.

</Description>

</Field>

<Field name="content_type" type="nullable string" prefix="data." required>

<Description>

MIME type parsed from the attachment part, or null when absent.

</Description>

</Field>

<Field name="size" type="integer" prefix="data." required>

<Description>

Size of the attachment in bytes.

</Description>

</Field>

</FieldChildren>

</Field>

</Payload>