users
Create Or Verify User
Create a new user with an email and password.
If no admin exists (first user), the user will be created as an admin.
Otherwise:
- User record was already created when the admin invited the user
- We should verify the user’s email
POST
/
users
Query Parameters
signup_token
string | null
Body
application/json
email
string
requiredfirst_name
string | null
default: last_name
string | null
default: auth_method
enum<string>
Available options:
email
, google
, github
, okta
, azure-ad
, custom
role
enum<string>
Available options:
admin
, manager
, user
, read_only
email_is_verified
boolean | null
default: falsepassword
string | null
Response
200 - application/json
id
string
requiredpermissions
object[]
email
string
requiredfirst_name
string | null
default: last_name
string | null
default: auth_method
enum<string>
Available options:
email
, google
, github
, okta
, azure-ad
, custom
role
enum<string>
Available options:
admin
, manager
, user
, read_only
email_is_verified
boolean | null
created_at
string
requiredupdated_at
string
requiredWas this page helpful?