Create User
Purpose: This endpoint allows you to create users in the Crehana platform, including their personal information and organizational structure.
Scope: Create user data on the platform for a Centralized, Learning & Talent.
Authentication
Api-Keystring
API key of the organization. Always sent together with the Secret-Access header.
Path parameters
organization_slug
Headers
Secret-Access
Request
This endpoint expects an object.
first_name
First name of the user
last_name
Last name of the user
email
Email of the user
area_level_1_id
Id of the organization direction (Area level 1)
position_id
Id of the position related to the user
position_category_id
Id of the position category
area_level_2_id
Id of the organization department (Area level 2)
area_level_3_id
Id of the organization office (Area level 3)
area_level_4_id
Id of the organization suboffice (Area level 4)
headquarter_id
Id of the organization headquarter
boss_email
Email of the user's boss
boss_id
User id of the user's boss
document_type
Document type of the user
document
Document of the user
gender
Gender of the user
civil_status
Civil status of the user
phone_1
Phone number 1 of the user
phone_2
Phone number 2 of the user
address
Address of the user
city
City of the user
country
Country of the user
deactivation_date
Deactivation date of the user in format YYYY-MM-DD
incorporation_date
Incorporation date of the user in format YYYY-MM-DD
birth_date
Birth date of the user in format YYYY-MM-DD
send_invitation
If the value is true, it will send an activation invitation to the user's email.
username
Username of the user
Response
Successful Response
message
Message of the response
code
Internal code of the response
datetime
Datetime of the API in ISO Format
data
Errors
422
Unprocessable Entity Error
