---
title: "Get Share State"
method: GET
path: "/trips/{trip_id}/share"
tags: ["guides"]
---

# Get Share State

`GET /trips/{trip_id}/share`

Get the current share state (visibility, slug, shared emails).

## Path parameters

- `trip_id` 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/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
