Create new user

Create a new user with basic information. Company super-admin only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

User creation data

string
required
string
required
length ≤ 200
string
required
length ≤ 200
number

Role to assign. Falls back to the company default role (set via POST /companies) if omitted — the request fails with 400 if neither is available.

boolean
Defaults to true

Whether the employee can sign in. Creating a user never sends an invitation, but an account with access can still request a login link (or sign in via SSO) at any time. Pass false to create an employee record that cannot sign in at all — for example employees whose trips are managed by their admins. Change it later with PATCH /users/{id}/access.

Responses

400

roleId omitted and the company has no defaultUserRoleId configured

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json