Organization Invites
Create Invite
POST
/
v1
/
organizations
/
invites
Headers
x-api-key
string
requiredYour unique Admin API key for authentication.
This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console.
anthropic-version
string
requiredThe version of the Anthropic API you want to use.
Read more about versioning and our version history here.
Body
application/json
email
string
requiredEmail of the User.
role
enum<string>
requiredRole for the invited User. Cannot be "admin".
Available options:
user
, developer
, billing
Response
200 - application/json
id
string
requiredID of the Invite.
type
enum<string>
default: inviterequiredObject type.
For Invites, this is always "invite"
.
Available options:
invite
email
string
requiredEmail of the User being invited.
role
enum<string>
requiredOrganization role of the User.
Available options:
user
, developer
, billing
, admin
invited_at
string
requiredRFC 3339 datetime string indicating when the Invite was created.
expires_at
string
requiredRFC 3339 datetime string indicating when the Invite expires.
status
enum<string>
requiredStatus of the Invite.
Available options:
accepted
, expired
, deleted
, pending