---
title: "Get Invitations"
method: GET
path: "/api/invitations/{organization_id}"
tags: ["Invitation"]
---

# Get Invitations

`GET /api/invitations/{organization_id}`

Get all invitations for the organization. Auth'ed user or api key must have an admin or owner role for the specified dataset's organization.

## Path parameters

- `organization_id` string, uuid, required

## Headers

- `TR-Organization` string, uuid, required

## Response `200`

Invitations for the dataset

- Invitation[]
  - `created_at` string, date-time, required
  - `email` string, required
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `role` integer, required
  - `scopes` string[], nullable
  - `updated_at` string, date-time, required
  - `used` boolean, required

## Other responses

- `400` — Service error relating to getting invitations for the dataset

## Changes

- **2025-04-29** `e002d9858957` — 1 info
  - added the optional property `items/scopes` to the response with the `200` status
- **2025-04-24** `661f8d6f359b` — 1 warning
  - removed the optional property `items/scopes` from the response with the `200` status

[Change history](https://skmtc.dev/devflowinc/apis/trieve-api/changes/api/invitations/:organization_id/get.md)

---

[API](https://skmtc.dev/devflowinc/apis/trieve-api.md) · [All operations](https://skmtc.dev/devflowinc/apis/trieve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devflowinc/trieve-api/revisions/84583e7c9fc1/schema)
