---
title: "List team invitations"
method: GET
path: "/teams/{team_id}/invitations"
tags: ["Teams"]
---

# List team invitations

`GET /teams/{team_id}/invitations`

## Request

- Base URL: `https://app.honeybadger.io/v3`
- URL: `https://app.honeybadger.io/v3/teams/{team_id}/invitations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/honeybadger/apis/honeybadger-api/docs/teams/:team_id/invitations/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of pending invitations for a team.

## Path parameters

- `team_id` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Success

- object
  - `data` TeamInvitation[], required
    - `id` string, required
    - `team_id` string, required: ID of the team
    - `email` string, required: Email address of the invitee
    - `admin` boolean, nullable: Whether the invitation grants admin privileges
    - `message` string, nullable: Optional message included with the invitation
    - `created_at` string, date-time: When the invitation was created
    - `accepted_at` string, date-time, nullable: When the invitation was accepted
    - `created_by` object, nullable: User who created the invitation
      - `id` string: ID of the user
      - `name` string, nullable: User name
      - `email` string: User email
    - `accepted_by` object, nullable: User who accepted the invitation
      - `id` string: ID of the user
      - `name` string, nullable: User name
      - `email` string: User email
  - `pagination` Pagination: Offset-based pagination information
    - `page` integer, required: Current page number
    - `per_page` integer, required: Items per page
  - `links` OffsetLinks: Navigation links for a numbered-page collection. Each link is a root-relative path (`/v3/...`); resolve it against the API host.
    - `self` string, uri-reference, required: This page
    - `first` string, uri-reference: First page
    - `prev` string, nullable: Previous page, or null on the first page
    - `next` string, nullable: Next page, or null on the last page
  - `meta` ResponseMeta
    - `request_id` string: Unique identifier for the request, for correlating with support

## Other responses

- `401`: The credential is missing, invalid, expired or revoked (`unauthorized`), or was sent in a way v3 doesn't accept (see the examples).
- `403`: The credential isn't allowed to do this. `error.code` says why. An account or project the credential doesn't cover is 404 `not_found`, not 403.
- `404`: Resource not found
- `422`: No path names the account, so the API token has to. This is returned when the token covers more than one account and the account a request applies to cannot be determined. Use a token bound to a single account.

---

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