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

# Retrieve Attachment

> Retrieve a specific attachment from a sent email.

Fetches metadata and a temporary download URL for a file attached to a sent email via the Mailofly API.

### Path Parameters

**email\_id** `string` *required*

The unique ID of the sent email.

**attachment\_id** `string` *required*

The unique ID of the attachment (`att_...`).

### Response

**id** `string`

Attachment identifier (`att_...`).

**filename** `string`

Original file name (e.g. `invoice.pdf`).

**content\_type** `string`

MIME type (e.g. `application/pdf`).

**size** `integer`

Size of the attachment in bytes.

**download\_url** `string`

Presigned URL to download the attachment payload.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.