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 active cost centers that serve that subsidiary (its own and those linked to it). Users created without allocations will have is_active=false and can be activated later by adding allocations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
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. Sending allocations: [] deactivates the user: it removes their cost centers, roles and responsibilities, and also the relation with their manager in each subsidiary, so they no longer appear among the manager's subordinates. The user and their history are kept. When reactivating the user, send user_manager_id again.

allocations
Responses

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