---
title: "Generate or refresh a shareable link for the trip."
method: POST
path: "/v1/trips/{id}/share-link"
tags: ["Public API v1"]
---

# Generate or refresh a shareable link for the trip.

`POST /v1/trips/{id}/share-link`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/trips/{id}/share-link`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Response `201`

- ShareLinkV1Dto
  - `url` string, required: The shareable trip URL.
  - `token` string, required: The opaque share token at the end of the URL.

## Other responses

- `404`: Trip not found, no access, or trip has no variant to share.

---

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