Onboard user
Users
Onboard User
Onboard a new user/customer into the portal. Creates a complete account setup including registration, company, user, and workspace in a single API call.
POST
Onboard user
Use this endpoint to onboard a new user/customer into the portal. This creates a complete account setup including registration, company, user, and workspace in a single API call.
Endpoint
POST/users/onboard
Content-Type: application/json
Authentication: Required (API token)
Request Body
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email_id | string | Yes | Email address of the user to onboard. Also accepts email. |
first_name | string | Yes | First name of the user. Also accepts firstName. |
last_name | string | Yes | Last name of the user. Also accepts lastName. |
company_name | string | Yes | Company name for the new account. Also accepts companyName. |
Notes
- All four fields are required.
- The
email_idmust not already be registered in the system. - The
company_namemust be unique — it cannot match an existing company. - The email domain is validated against restricted domains. If the domain is restricted, the request will be rejected.
- A unique 12-digit
customer_saltis auto-generated and returned in the response. This can be used later to generate API tokens via the Get Token by Customer ID endpoint. - The onboarded user is created as an Admin with a default workspace and 20 free minutes.
Success Response
Response Fields
| Field | Type | Description |
|---|---|---|
registration_id | number | ID of the registration record created. |
user_id | number | ID of the newly created user. |
company_id | number | ID of the newly created company. |
workspace_id | number | ID of the default workspace created for the user. |
customer_salt | string | Unique 12-digit customer identifier. Use this to generate API tokens. |
Error Responses
| Error | Description |
|---|---|
EMAIL_ALREADY_REGISTERED | The email is already associated with an account. |
WORKFLOW_NAME_ALREADY_REGISTERED | The company name is already taken. |
COMPANY_DOMAIN_ALREADY_REGISTERED | The email domain is already registered. |
Example cURL
Headers
API token for authentication
Body
application/json
Email address of the user to onboard. Also accepts 'email'.
First name of the user. Also accepts 'firstName'.
Last name of the user. Also accepts 'lastName'.
Company name for the new account. Must be unique. Also accepts 'companyName'.

