---
title: "List Team Invitations"
method: GET
path: "/v1/teams/{team_id}/invitations"
tags: ["teams"]
---

# List Team Invitations

`GET /v1/teams/{team_id}/invitations`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/teams/{team_id}/invitations`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/teams/:team_id/invitations/get.ts> (a function with typed inputs; its response is checked against the schema)

List team invitations.

Args:
    team_id: Team identifier.
    auth: Authenticated caller.
    service: Team service.

Returns:
    Invitations and count.

## Path parameters

- `team_id` string, required

## Response `200`

Successful Response

- TeamInvitationsListResponse: Response model for listing team invitations.
  - `success` boolean
  - `invitations` TeamInvitationResponse[], required
    - `id` string, required
    - `team_id` string, required
    - `team_name` string, required
    - `email` string, required
    - `role` 'owner' | 'billing' | 'admin' | 'editor' | 'viewer', required: Team member roles with hierarchical permissions. Wire DTO mirror of the ORM ``TeamRoleType`` enum. Used only for API request/response serialization; authorization decisions route through the ORM matrix (``database_tables.permissions``), never this enum.
    - `status` 'pending' | 'accepted' | 'declined' | 'expired', required: Status of a team invitation.
    - `invited_by` string, required
    - `inviter_name` string, nullable
    - `inviter_email` string, nullable
    - `created_at` string, required
    - `expires_at` string, required
    - `email_sent` boolean: Whether the invitation email was successfully handed off to SendGrid. Only meaningful on the create-invite response; list endpoints do not track historical delivery and default to True.
  - `count` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/teams/:team_id/invitations/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
