# List Agency Team Invites Beta

> List team invites sent to people with no FoxReach account, not accepted yet.

> Documentation index: https://www.foxreach.io/docs/llms.txt lists every page of these docs. Each page is also served as Markdown: add `.md` to its URL.

`GET` https://api.foxreach.io/api/v1/agency/team/invites

> **Note:** **Beta.** Agency team endpoints are new and may change.

Requires an API key with the `read` scope.

Only API keys of an Agency workspace can call this endpoint (`403 agency_required` otherwise). The call always runs in the key's own workspace; `X-Workspace-Id` is ignored. Any key of the agency workspace can read the team.

One entry per email, newest first. An invite covers every client workspace it was sent for; accepting it joins the team and opens all of them. The list is not paginated.

## Response

- `data` array

  Invite:

  - `email` string: The invited email.
  - `role` string: Agency role they get on accepting: `manager` or `member`.
  - `workspaceIds` string[]: Client workspaces the invite opens.
  - `invitedAt` string: ISO 8601 timestamp.
  - `expiresAt` string: ISO 8601 timestamp of the latest expiry across the invite's workspaces.
  - `expired` boolean: `true` once every part of the invite has expired. Send it again with [Invite Agency Team Member](https://www.foxreach.io/docs/api-reference/agency/invite-team-member).

**Request example**

```bash cURL
curl "https://api.foxreach.io/api/v1/agency/team/invites" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK (beta)
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
invites = client.agency.list_team_invites()
```

```typescript TypeScript SDK (beta)
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const invites = await client.agency.listTeamInvites();
```

**Response example**

```json
{
  "data": [
    {
      "email": "new@agency.com",
      "role": "member",
      "workspaceIds": ["ws_abc123"],
      "invitedAt": "2026-12-01T09:00:00",
      "expiresAt": "2026-12-08T09:00:00+00:00",
      "expired": false
    }
  ]
}
```

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |
| `403` | `agency_required`: the key's workspace does not hold an Agency plan |

## Rate Limit

- **300 requests per minute, shared by every `read` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`read`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](https://www.foxreach.io/docs/rate-limiting).
