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

# A trip's documents

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

## Request

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

E-tickets and booking attachments: those that arrived with forwarded emails, linked to their segment or stay where known, and those added by hand.

## Path parameters

- `id` string, required: The trip id.

## Response `200`

Documents, oldest first.

- Documents
  - `documents` Document[], required
    - `id` string, required
    - `filename` string, required
    - `content_type` string, required
    - `size_bytes` integer, nullable, required
    - `segment_id` string, nullable, required
    - `stay_id` string, nullable, required
    - `created_at` string, required

## 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)
