v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
Employees

Create a employee

The fields cpf, internal_number, and email are identifiers of the employee, with at least one of them being mandatory to fill in, and all three fields can contain information. The assignment of access profiles (permission_profiles) is not available via API and must be done directly through the platform, on the employee management screen. The access profile (permission_profiles) will only be displayed in the employee query as informational.

post/employees/

Request body

namestring

Employee's name

social_namestring

Employee's Social Name (max length: 250)

birth_namestring

Employee's birth date (YYYY-MM-DD)

emailstring

Employee's e-mail

cpfstring

Employee's CPF

internal_numberstring

Employee's internal number

cell_phonestring

Employee's cell phone

groupsstring

Name or id_group of groups of employee separated by semicolon

leadersstring

Name, CPF, internal_number of leaders of employee separated by semicolon. CPF can be provided with or without punctuation (e.g., 12345678901 or 123.456.789-01).

languagestring

pt-BR (default) / en-US / es-ES

blockedinteger

Block employee from receiveing notifications

sexstring

Employee's sex (F/M)

genderstring

Employee's gender (max length: 250)

birthdaystring date

Employee's birth date (YYYY-MM-DD)

hiring_datestring date

Employee's hiring date (YYYY-MM-DD)

resignation_datestring date

Employee's resignation date (YYYY-MM-DD)

positionstring

Employee's job role

scholaritystring

Employee's scholarity

unit_businessstring

Employee's business unit

unit_geographystring

Employee's geographic unit

tagsstring[]

Response

Successful response

codeinteger

Can be 1 for success, otherwise 0 for error

messagestring