v1
latestOpenAPI 3.1.02026-07-2295105298.6 KBTeam Management
Create Invite
Invites a user to your organization, a specific website, or a group. Use invite_method: "direct" to add the user immediately without sending any email — if the email has no existing account, a new user account is created automatically. Use invite_method: "email" to create a pending invite and send an invitation email that the recipient must accept. Group invites require a global API key.
post/api/v1/invites
Request body
Example request
{
"type": "organization",
"invite_method": "email",
"email": "user@example.com",
"role": "viewer",
"role_id": "789e0123-e89b-12d3-a456-426614174000",
"website_id": "123e4567-e89b-12d3-a456-426614174000",
"group_id": "456e7890-e89b-12d3-a456-426614174000",
"first_name": "John",
"last_name": "Doe"
}Response
User added or invitation sent successfully
Example response
{
"success": true,
"invite_id": "123e4567-e89b-12d3-a456-426614174000",
"user_id": "abc12345-e89b-12d3-a456-426614174000",
"message": "Invitation sent"
}