Create Invite
Changed onInvite a user to join the organization by email.
On plans that draw members from a finite pool of purchased seats, the invite automatically consumes a seat from the lowest tier with availability; there is no seat-tier parameter. When no seat is free the request fails with a 400 error rather than purchasing a seat.
Request
- Base URLhttps://api.anthropic.com
- Authnone declared
Headers
The version of the Claude API you want to use.
Read more about versioning and our version history here.
Request body
Example request
{
"email": "user@emaildomain.com",
"role": "user"
}Response
Successful Response
Example response
{
"email": "user@emaildomain.com",
"expires_at": "2024-11-20T23:58:27.427722Z",
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"invited_at": "2024-10-30T23:58:27.427722Z"
}Changes
- info
added to the
/response propertyanyOflist for the response status
- info
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
removed discriminator from
response property for the response status - info
removed from the
response propertyoneOflist for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking