---
title: "Download email attachments"
method: GET
path: "/emails/{id}/attachments.tar.gz"
tags: ["Emails"]
---

# Download email attachments

`GET /emails/{id}/attachments.tar.gz`

Downloads all attachments as a gzip-compressed tar archive.
Authenticates via a signed download token (provided in webhook
payloads) or a valid session.

## Query parameters

- `token` string

## Response `200`

Attachments archive

## Other responses

- `400` — Invalid request parameters
- `401` — Invalid or missing API key
- `404` — Resource not found

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) · [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primitive/primitive-api/revisions/c2299d28022c/schema)
