---
title: "Create Trip Pdf Export Token"
method: POST
path: "/trips/{trip_id}/pdf-token"
tags: ["trip-export"]
---

# Create Trip Pdf Export Token

`POST /trips/{trip_id}/pdf-token`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/pdf-token`
- Auth: none declared

## Path parameters

- `trip_id` string, required

## Response `200`

Successful Response

- PdfExportTokenResponse
  - `token` string, required
  - `token_id` string, required
  - `expires_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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