Each user is uniquely identified by email, user_id, and a role. Users authenticate with either a password or Single Sign-On (SSO).
If SSO is enabled for your organization, you can restrict specific users to SSO-only access (
sso_only: true).
This section covers user creation and invitation. See the Edit User and Delete User endpoints for the rest of the lifecycle.
Roles
Authentication & SSO
- Password login: The user sets a password that meets security rules.
- SSO-only login: Set
sso_only: trueand omit (or setnull) thepasswordfield.
Create a User
Prerequisites
- API key passed in the
x-APIKeyheader. - Unique email, first_name, last_name.
- Optional role (defaults to
ORG_ADMIN).
Endpoint
Request & Response
Send one of the JSON payloads below.A successful call returns 200 OK with the created user object.
Invitation rules
•send_invitation: true— an email is sent immediately (unlesssso_onlyistrue).
•send_invitation: false— create the account silently; trigger Reinvite User later.
Payload examples
- ORG_ADMIN
- Group Manager
- Business Manager
End-to-end request in multiple languages
- cURL
- Python (requests)
- Java (OkHttp)
- PHP (cURL)
Parameters
To do
Edit User
Change roles, SSO settings, or resend invitations.
Delete User
Permanently remove a user from your organization.