Create Invite
/v1/organizations/invites
Create Invite
Body Parameters
email: string
Email of the User.
formatemail
Returns
Create Invite
cURL
curl https://api.anthropic.com/v1/organizations/invites \
-H 'Content-Type: application/json' \
-H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY" \
-d '{
"email": "[email protected]",
"role": "user"
}'{
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"email": "[email protected]",
"expires_at": "2024-11-20T23:58:27.427722Z",
"invited_at": "2024-10-30T23:58:27.427722Z",
"role": "user",
"status": "pending",
"type": "invite"
}Returns Examples
{
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"email": "[email protected]",
"expires_at": "2024-11-20T23:58:27.427722Z",
"invited_at": "2024-10-30T23:58:27.427722Z",
"role": "user",
"status": "pending",
"type": "invite"
}