---
title: "Get Attachment Content"
method: GET
path: "/companies/{id_or_urn}/attachments/{urn}"
tags: ["companies", "attachments"]
---

# Get Attachment Content

`GET /companies/{id_or_urn}/attachments/{urn}`

## Request

- Base URL: `https://api.harmonic.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.harmonic.ai/companies/{id_or_urn}/attachments/{urn}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/docs/companies/:id_or_urn/attachments/:urn/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id_or_urn` union, required
  - integer
  - string, uuid
  - string
- `urn` string, required

## Query parameters

- `preview` boolean

## Response `200`

Successful Response

- GetAttachmentContentResponse
  - `url` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-26** `fcf35c98e097`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/changes/companies/:id_or_urn/attachments/:urn/get.md)

---

[API](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api.md) - [All operations](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/revisions/3aef619bb9e3?raw)
