---
title: "Preview your passport card"
method: GET
path: "/api/passport/preview"
tags: ["Passport"]
---

# Preview your passport card

`GET /api/passport/preview`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/passport/preview`
- Auth: HTTP bearer

The card exactly as a published page would show it, published or not. holder overrides the name on it.

## Query parameters

- `holder` string: The name to put on the card.

## Response `200`

The card, or null when there is no travel to show yet.

- PassportPreview
  - `card` object, nullable, required

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `403`: The caller may not do this to this account or trip.

---

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