# List invitations (https://notert.io/docs/api/reference/list-invitations)

`GET /api/v1/teammates/invitations`

The invitations to the team, as the team page lists them: those still waiting and those whose email bounced, the waiting first, newest first, or the newest 50 that expired before anyone took them. Only an owner or admin reads the addresses invited, through a token that reaches every board.

Access: A token with people:write.

## Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `state` | string | No | waiting (the default) for those waiting or bounced, or expired. One of: `waiting`, `expired`. Default "waiting". |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | The page's teammates by name, those who haven't set a name first. |
| `items.id` | string | The teammate's id: m_ and their user id, as the people endpoints name them, which a request's ownerIds take. |
| `items.email` | string | The address as you sent it, lower-cased. |
| `items.role` | string | Their role in the workspace: owner, admin or member, the highest where they hold several. One of: `member`, `admin`. |
| `items.bounced` | boolean | Whether its email bounced, so no resend reaches the address: ask for another address. |
| `items.sentAt` | date-time or null | When it was last sent, for one waiting. Null for an expired one. |
| `items.expiredAt` | date-time or null | When its link ran out, for an expired one. Null for one waiting. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `FORBIDDEN` | The teammate who holds this API token's secret can't read invitations. Only an owner or admin can: one of them should roll it in the workspace's settings. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't change your customers' traits or invite teammates. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 403 | `TOKEN_HELD_TO_BOARDS` | A teammate reaches every board, so this token, held to some, can't read invitations. Use a token that reaches every board. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl https://app.notert.io/api/v1/teammates/invitations \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "items": [
    {
      "id": "m_5k2m9p4q7r1t",
      "email": "hannah@example.com",
      "role": "admin",
      "bounced": false,
      "sentAt": "2026-11-20T09:00:00.000Z",
      "expiredAt": null
    }
  ]
}
```
