Invites changedapi/beta/organization/invites
Nearest release: v2.1.328, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+48added
Lines−0removed
From line
127
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
### Errors ### Errors
The whole hunk
from line 127, old and new numbered
/
from line 127
127127
128128 - `"pending"`
129129
130### Errors
131
132Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
133
134Each code below is the value of `error.details.error_code` in the response body.
135
136- `already_member` (HTTP status 400)
137
138 The email address already belongs to a user in the organization. The message names the user.
139
140- `cannot_invite_emails_with_unverified_domains` (HTTP status 400)
141
142 The email address's domain is not one of the verified domains of the organization's parent organization.
143
144- `email_domain_not_allowed` (HTTP status 400)
145
146 The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.
147
148- `invite_already_exists` (HTTP status 400)
149
150 A pending invite already exists for the email address. The message names the invite.
151
152- `org_member_limit_exceeded` (HTTP status 400)
153
154 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
155
156- `rbac_group_grants_owner_access` (HTTP status 400)
157
158 A role attached to an RBAC Group in the request grants owner access, so this API does not add members to that group (directly or through an invite), remove its members, or delete it. Make the change in the organization's admin settings in Claude.
159
160- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
161
162 The API could not finish checking whether an RBAC Group in the request grants owner access, so it made no change. Retrying the same request will not help. Make the change in the organization's admin settings in Claude.
163
164- `sandbox_egress_restricted` (HTTP status 403)
165
166 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
167
130168### Example
131169
132170```bash
from line 526
488526- `id: string`
489527
490528 ID of the Invite.
529
530### Errors
531
532Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
533
534Each code below is the value of `error.details.error_code` in the response body.
535
536- `sandbox_egress_restricted` (HTTP status 403)
537
538 The request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
491539
492540### Example
493541
No line in this hunk matches that.