---
title: "Get a temporary download URL"
method: GET
path: "/brands/{brand}/documents/{id}/content"
tags: ["Documents"]
---

# Get a temporary download URL

`GET /brands/{brand}/documents/{id}/content`

## Request

- Base URL: `https://app.amber.ai/api/public/v1`
- URL: `https://app.amber.ai/api/public/v1/brands/{brand}/documents/{id}/content`
- Auth: HTTP bearer

## Path parameters

- `brand` string, required
- `id` string, required

## Query parameters

- `subjectKind` 'ORDER' | 'SHIPMENT' | 'PAYMENT' | 'PRODUCT' | 'PRODUCT_OPTION' | 'PRODUCT_VERSION' | 'SKU' | 'SAMPLE' | 'SAMPLE_ROUND' | 'QUOTE' | 'QUOTE_NOTE' | 'MATERIAL' | 'BOM_COMPONENT' | 'MEASUREMENT_TABLE' | 'PARTNER' | 'BRAND'
- `subjectKey` string
- `documentTypeId` string
- `includeSuperseded` 'true' | 'false'

## Response `200`

The requested record.

- DocumentContent
  - `url` string, required
  - `expiresAt` string, required
  - `extent` union, required
    - string
    - number
    - boolean
    - Schema0[]
    - object

## Other responses

- `400`: Invalid parameter, unsupported include, or cursor used with different filters.
- `401`: Missing, invalid, expired, or out-of-scope API key.
- `404`: The record was not found or is not available to your brand.
- `429`: Rate limit exceeded. Retry after the indicated delay.
- `500`: Unexpected server error.
- `502`: File storage is temporarily unavailable.

---

[API](https://skmtc.dev/amber/apis/amber-public-api.md) - [All operations](https://skmtc.dev/amber/apis/amber-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amber/apis/amber-public-api/revisions/47fb0d31a2cd?raw)
