Invites a user to your organization or a specific website. You can either directly add an existing user or send an email invitation to a new user.
Request body for creating an invite
The type of invite - organization-level or website-specific access
organization, website "organization"
How to invite the user. Use 'direct' to add an existing user immediately, or 'email' to send an invitation email
direct, email "email"
Email address of the user to invite
"user@example.com"
The role to assign to the invited user
admin, viewer "viewer"
Required when type is 'website'. The ID of the website to grant access to
"123e4567-e89b-12d3-a456-426614174000"
Optional first name of the invited user
"John"
Optional last name of the invited user
"Doe"
User added or invitation sent successfully
Response from creating an invite