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

# A trip's itinerary links

`GET /api/trips/{id}/itinerary-links`

## Request

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

## Path parameters

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

## Response `200`

Links, newest first.

- object
  - `links` ItineraryLink[], required
    - `token` string, required
    - `url` string, required
    - `options` ShareOptions, required
      - `prices` boolean, required: Show prices (opt-in).
      - `segments` boolean, required
      - `stays` boolean, required
      - `activities` boolean, required
    - `created_at` string

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