---
title: "Get attachment by hash"
method: GET
path: "/v2/attachments/{hash}"
tags: ["Atlas"]
---

# Get attachment by hash

`GET /v2/attachments/{hash}`

Get an attachment by its hash. Attachments are content stored in the Atlas network.

The attachment hash is a 40-character hex string (SHA-1 hash).

## Path parameters

- `hash` string, required

## Response `200`

The attachment content

- AttachmentData — unresolved $ref

## Other responses

- `400` — Bad request
- `404` — Not found

## Changes

- **2025-07-09** `04a9a0b50aa3` — 1 info
  - endpoint added
- **2025-07-08** `488dd3b80020` — 1 breaking
  - api path removed without deprecation
- **2025-07-08** `170414634c90` — 1 info
  - endpoint added
- **2025-06-26** `2fc5956efe3d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/changes/v2/attachments/:hash/get.md)

---

[API](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api.md) · [All operations](https://skmtc.dev/stacks-network/apis/stacks-3-0-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacks-network/stacks-3-0-rpc-api/revisions/bfe6e0b30f62/schema)
