Repository Public
1---2title: List Invites3url: https://platform.claude.com/docs/en/api/beta/organization/invites/list4---56# List Invites78**GET** `/v1/organizations/invites`910List the organization's invites.1112## Query parameters1314- `after_id: optional string`1516 ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.1718- `before_id: optional string`1920 ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.2122- `email: optional string`2324 Filter by the email address the Invite was sent to. Matches the same way as the Users list's `email` filter (normalized, case-insensitive).2526 format: email2728- `limit: optional number`2930 Number of items to return per page.3132 Defaults to `20`. Ranges from `1` to `1000`.3334 default: 20, maximum: 1000, minimum: 13536- `roles: optional array of string`3738 Filter to items whose `role` equals one of the supplied values. Repeatable; values are OR'ed together.3940 Accepted values depend on the organization type: Console and API organizations accept `user`, `developer`, `billing`, `admin`, and `claude_code_user`; Claude Enterprise organizations accept `user`, `owner`, `primary_owner`, `membership_admin`, and `managed`.4142- `statuses: optional array of "accepted" or "expired" or "pending"`4344 Filter by Invite status. Repeatable; values are OR'ed together. Omit to return `pending`, `accepted`, and `expired` Invites alike.4546 - `"accepted"`4748 - `"expired"`4950 - `"pending"`5152## Returns5354- `data: array of BetaOrganizationInvite`5556 - `type: "invite"`5758 Object type.5960 For Invites, this is always `"invite"`.6162 default: invite6364 - `id: string`6566 ID of the Invite.6768 - `accepted_at: string or null`6970 RFC 3339 datetime string indicating when the Invite was accepted, or null.7172 format: date-time7374 - `email: string`7576 Email of the User being invited.7778 - `expires_at: string`7980 RFC 3339 datetime string indicating when the Invite expires.8182 format: date-time8384 - `invited_at: string`8586 RFC 3339 datetime string indicating when the Invite was created.8788 format: date-time8990 - `rbac_group_ids: array of string`9192 RBAC group IDs recorded on the Invite (Claude Enterprise organizations), to be assigned to the User when the Invite is accepted. `[]` when none.9394 - `role: BetaOrganizationRole`9596 Organization role of the User.9798 - `"admin"`99100 - `"billing"`101102 - `"claude_code_user"`103104 - `"developer"`105106 - `"managed"`107108 - `"membership_admin"`109110 - `"owner"`111112 - `"primary_owner"`113114 - `"user"`115116 - `status: "accepted" or "deleted" or "expired" or "pending"`117118 Status of the Invite.119120 - `"accepted"`121122 - `"deleted"`123124 - `"expired"`125126 - `"pending"`127128- `first_id: string or null`129130 First ID in the `data` list. Can be used as the `before_id` for the previous page.131132- `has_more: boolean`133134 Indicates if there are more results in the requested page direction.135136- `last_id: string or null`137138 Last ID in the `data` list. Can be used as the `after_id` for the next page.139140## Example141142```bash143curl https://api.anthropic.com/v1/organizations/invites \144 -H 'anthropic-version: 2023-06-01' \145 -H "X-Api-Key: $ANTHROPIC_API_KEY"146```147148### Response (200)149150```json151{152 "data": [153 {154 "id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",155 "accepted_at": "2019-12-27T18:11:19.117Z",156 "email": "user@emaildomain.com",157 "expires_at": "2024-11-20T23:58:27.427722Z",158 "invited_at": "2024-10-30T23:58:27.427722Z",159 "rbac_group_ids": [160 "string"161 ],162 "role": "admin",163 "status": "pending",164 "type": "invite"165 }166 ],167 "first_id": "first_id",168 "has_more": true,169 "last_id": "last_id"170}171```172