Create Invite
/v1/organizations/invites
Create Invite
Body Parameters
Returns
Create Invite
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"
}'Response 200
{
"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
Response 200
{
"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"
}