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

# Get one attachment of a received email

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

## Request

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

Metadata and a fresh 15-minute download link for one attachment. Requires the inbound:read scope.

## Path parameters

- `id` string, required
- `attachment_id` string, required

## Response `200`

Attachment

- 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)
