---
title: "Download a message attachment"
method: GET
path: "/v1/attachments/{userID}/{messageID}/{attachmentIndex}/{filename}"
tags: ["Attachments"]
---

# Download a message attachment

`GET /v1/attachments/{userID}/{messageID}/{attachmentIndex}/{filename}`

Download an MMS attachment by its path components

## Path parameters

- `userID` string, required
- `messageID` string, required
- `attachmentIndex` string, required
- `filename` string, required

## Response `200`

OK

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2026-04-12** `d0829ff5ceb5` — 1 info
  - endpoint added
- **2023-12-22** `7e5887f7aceb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ndolestudio/apis/httpsms-api-reference/changes/v1/attachments/:userID/:messageID/:attachmentIndex/:filename/get.md)

---

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