---
title: "Share Trip"
method: POST
path: "/trips/{trip_id}/share"
tags: ["guides"]
---

# Share Trip

`POST /trips/{trip_id}/share`

## 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}/share`
- Auth: none declared

Add emails to the shared list and send invitation emails.

## Path parameters

- `trip_id` string, required

## Request body

- ShareRequest
  - `emails` string[], required

## Response `200`

Successful Response

- ShareStateResponse: Current share state for a trip (returned to the trip owner).
  - `visibility` string, required
  - `slug` string, nullable
  - `public_url` string, nullable
  - `shared_users` SharedUser[]
    - `email` string, required
    - `name` string, nullable
    - `avatar_color` string, nullable

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