---
title: "Who has access, and outstanding invites"
method: GET
path: "/api/sharing"
tags: ["Sharing"]
---

# Who has access, and outstanding invites

`GET /api/sharing`

## Request

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

Account members, single-trip collaborators, the last 30 invite codes, and seats used against the plan's limit. Members only.

## Response `200`

Access to the account.

- SharingInfo
  - `members` object[], required
    - `user_id` string, required
    - `name` string, nullable, required
    - `role` 'admin' | 'co_admin' | 'member', required
  - `collaborators` object[], required
    - `id` string, required
    - `name` string, nullable, required
    - `role` 'editor' | 'viewer', required
    - `trip_title` string, required
  - `invites` object[], required
    - `code` string, required
    - `kind` 'member' | 'trip', required
    - `member_role` string, nullable, required
    - `trip_role` string, nullable, required
    - `invited_name` string, nullable, required
    - `status` 'pending' | 'redeemed' | 'revoked', required
    - `trip_title` string, nullable, required
  - `seats_used` integer, required
  - `seat_limit` integer, 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)
