Create User

Create a new user in the enterprise. At least one of 'phone' or 'email' must be provided. The user will be created with an 'employee' role by default. Use the 'allocations' field to assign the user to subsidiaries and cost centers. If no cost centers are specified for a subsidiary, the user will be automatically assigned to ALL cost centers of that subsidiary. Users created without allocations will have is_active=false and can be activated later by adding allocations. Note: subsidiary_id, user_manager_id, and cost center ids can be provided as either UUID or internal_id.

Path Params
string
required
Defaults to v1

Api version

string
required

Id of the selected enterprise

Body Params
string

User's first name

string

User's last name

string

Phone number in E164 format (e.g., +56912345678)

string

User's email address

string

Internal identifier for the user

string

Government-issued ID number

allocations
array of objects

List of subsidiary and cost center allocations

allocations
Responses

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