Skip to navigation

Create a user

Provisions a new user on your company. The email must be unique among existing users. Requires Admin role.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Request

This endpoint expects an object.
firstNamestringRequiredformat: "^[A-Za-z ]*$"

The user’s first name. Letters and spaces only. Combined with lastName must not exceed 24 characters.

lastNamestringRequiredformat: "^[A-Za-z ]*$"

The user’s last name. Letters and spaces only. Combined with firstName must not exceed 24 characters.

emailstringRequiredformat: "email"
The user's email address. Must be unique among existing users.
phonestringRequired
A valid US phone number.
addressobjectRequired
The user's residential address.
birthdatedate or longRequired
The user's date of birth, as an ISO 8601 date string or Unix timestamp in milliseconds. Must be 18 years or older.
titleenumRequired
The user's title at the company.
roleenumRequired
The user's role on the company.
isOwnerbooleanOptional
Whether the user is also a beneficial owner of the business.

Response

User created.
idstringformat: "uuid"
The user's unique identifier.
firstNamestring
The user's first name.
lastNamestring
The user's last name.
emailstringformat: "email"
The user's email address.
roleenum
The user's role on the company.
statusenum
The user's current status.
Allowed values:
phonestring or nullOptional
The user's phone number.
titleenum or nullOptional
The user's title at the company.
addressobjectOptional
The user's residential address.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error