Create Invite changedapi/organization/invites/create
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+38added
Lines−0removed
From line
125
where the diff opens
First seen
30 Sep 2026
this site's first read of the page
Recorded edits7to this page, all time
## Errors
The whole hunk
from line 125, old and new numbered
/
from line 125
125125
126126 - `"pending"`
127127
128## Errors
129
130Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
131
132Each code below is the value of `error.details.error_code` in the response body.
133
134- `already_member` (HTTP status 400)
135
136 The email address already belongs to a user in the organization. The message names the user.
137
138- `cannot_invite_emails_with_unverified_domains` (HTTP status 400)
139
140 The email address's domain is not one of the verified domains of the organization's parent organization.
141
142- `email_domain_not_allowed` (HTTP status 400)
143
144 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.
145
146- `invite_already_exists` (HTTP status 400)
147
148 A pending invite already exists for the email address. The message names the invite.
149
150- `org_member_limit_exceeded` (HTTP status 400)
151
152 The organization has reached the member limit that Anthropic set for it. Pending invites count toward the limit.
153
154- `rbac_group_grants_owner_access` (HTTP status 400)
155
156 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.
157
158- `rbac_group_owner_access_unconfirmed` (HTTP status 400)
159
160 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.
161
162- `sandbox_egress_restricted` (HTTP status 403)
163
164 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.
165
128166## Example
129167
130168```bash
No line in this hunk matches that.