---
title: "Get Attachment By Reference"
method: GET
path: "/api/v1/mail/messages/{message_id}/attachments/{attachment_ref}"
tags: ["Messages"]
---

# Get Attachment By Reference

`GET /api/v1/mail/messages/{message_id}/attachments/{attachment_ref}`

## Path parameters

- `message_id` string, uuid, required
- `attachment_ref` string, required

## Response `200`

Successful Response

- AttachmentDownloadResponse
  - `attachment_ref` string, required
  - `filename` string, required
  - `content_type` string, required
  - `size` integer, required
  - `url` string, required
  - `expires_in` integer, required

## Other responses

- `422` — Validation Error
- `4XX` — Client error with Support Agent information.
- `5XX` — Server error with Support Agent information.

---

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