# GET /v3/filings/{accession}/documents/{document}

Stored bytes of one document. Supports ETag / If-None-Match (304) and single-range Range requests (206). Served with Content-Security-Policy: sandbox.

**API key:** required. See [Authentication](https://www.secblast.com/docs/authentication).

**Group:** [Filings](https://www.secblast.com/docs/reference#filings)

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `accession` | path | string | yes |   | Accession number, with dashes (0001829126-26-010431) or without (18 digits). |
| `document` | path | string | yes |   | Sequence number (1, 2, ...) or the document's filename. |

## Responses

| Status | Body | Description |
|---|---|---|
| `200` | binary (`*/*`) | The stored bytes. Headers: `Accept-Ranges`, `ETag`. |
| `206` | binary (`*/*`) | The requested byte range. |
| `304` | none | Not modified (If-None-Match matched the ETag). |
| `400` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Invalid or unknown parameter. |
| `401` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Missing, invalid or inactive API key (code unauthorized), or a refused access token (code invalid_token: malformed, unknown key, bad signature, expired, wrong issuer or audience, revoked grant). WWW-Authenticate names the protected-resource metadata (RFC 9728). |
| `404` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Not found. |
| `416` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Range not satisfiable. |
| `503` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Database unavailable; retry after the Retry-After delay. |
| `default` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Any other error (405, 500, 504). |

## Response body

A `200` carries the stored bytes, with the content type of the document.

## Example request

```bash
curl -sS -H "Authorization: Bearer $SECBLAST_API_KEY" \
  'https://api.secblast.com/v3/filings/0001829126-26-010431/documents/1'
```

[Open this route in the console](https://www.secblast.com/console#get-v3-filings-accession-documents-document)

## More in Filings

Previous: [`GET /v3/filings/{accession}/documents`](https://www.secblast.com/docs/reference/get-filings-accession-documents) · Next: [`GET /v3/filings/{accession}/events`](https://www.secblast.com/docs/reference/get-filings-accession-events)
