> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Attachment

> Retrieve a specific attachment from an inbound received email.

Fetches metadata and a secure download link for an attachment received via inbound MX routing.

### Path Parameters

<ParamField path="email_id" type="string" required>
  The unique ID of the received inbound email.
</ParamField>

<ParamField path="attachment_id" type="string" required>
  The unique ID of the attachment (`att_...`).
</ParamField>

### Response

<ResponseField name="id" type="string">Attachment ID</ResponseField>
<ResponseField name="filename" type="string">Original file name</ResponseField>
<ResponseField name="content_type" type="string">MIME type</ResponseField>
<ResponseField name="size" type="integer">Size in bytes</ResponseField>
<ResponseField name="download_url" type="string">Presigned download URL</ResponseField>


## Related topics

- [Retrieve Attachment](/api/emails/retrieve-attachment.md)
- [List Attachments](/api/receiving/list-attachments.md)
- [Retrieve Received Email](/api/receiving/retrieve-received-email.md)
- [Attachments](/sending/attachments.md)
