> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracklysms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Supporting Document

> Download a supporting document's raw bytes.

Streams the raw bytes of a supporting document with its stored `Content-Type` and a `Content-Disposition` attachment header. Authenticated via your API key — no separate signed URL needed.

## Path Parameters

<ParamField path="profile_id" type="string" required>
  The business profile's id.
</ParamField>

<ParamField path="doc_id" type="string" required>
  The document's id (from [List Documents](/api-reference/v2/business-profiles/list-documents)).
</ParamField>

## Examples

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.tracklysms.com/api/v2/business-profiles/664a1b2c3d4e5f6071829300/documents/9f2c4a1e7b8d4c3f" \
    -H "X-Api-Key: trk_your_api_key_here" \
    -o ein.pdf
  ```
</RequestExample>

## Error Codes

| HTTP Status | Error Code                         | Description                                  |
| ----------- | ---------------------------------- | -------------------------------------------- |
| 404         | `not_found` / `document_not_found` | No such profile or document on your account. |
| 503         | `document_unavailable`             | The document could not be retrieved; retry.  |
