---
title: "List attachments of a received email"
method: GET
path: "/v1/emails/receiving/{id}/attachments"
tags: ["Receiving"]
---

# List attachments of a received email

`GET /v1/emails/receiving/{id}/attachments`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/emails/receiving/{id}/attachments`
- Auth: HTTP bearer

Attachment metadata with a fresh 15-minute download link for each file. Requires the inbound:read scope.

## Path parameters

- `id` string, required

## Response `200`

Attachments

- object
  - `object` string
  - `data` ReceivedAttachment[]
    - `id` string
    - `filename` string
    - `content_type` string
    - `content_disposition` 'attachment' | 'inline'
    - `content_id` string, nullable
    - `size` integer
    - `download_url` string, uri: Present on the attachment endpoints; valid for 15 minutes
    - `expires_at` string, date-time

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
