---
title: "A document's bytes"
method: GET
path: "/api/documents/{id}/file"
tags: ["Documents"]
---

# A document's bytes

`GET /api/documents/{id}/file`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/documents/{id}/file`
- Auth: HTTP bearer

Served inline with its original filename.

## Path parameters

- `id` string, required: The id.

## Response `200`

The file.

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `404`: No such thing, or not one the caller can see.

---

[API](https://skmtc.dev/trvlrr/apis/trvlrr-api.md) · [All operations](https://skmtc.dev/trvlrr/apis/trvlrr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trvlrr/apis/trvlrr-api/revisions/ea024946b293?raw)
