Creates a new employee. If the employee's status is not provided, it will be set based on the hire_date value - if it is in the past, status will be active, otherwise onboarding. This endpoint responds with the id of the created employee in case of success.

POST body example

{
  "employee": {
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Dou",
    "preferred_name": "John Dou",
    "gender": "male",
    "position": "developer",
    "subcompany": "ACME",
    "department": "IT",
    "office": "Madrid",
    "hire_date": "2020-01-31",
    "weekly_working_hours": 40,
    "status": "active",
    "supervisor_id": 5,
    "custom_attributes": {
      "dynamic_ {{  field uid  }} ": "German"
    }
  }
}
Language
Credentials
Bearer
Click Try It! to start a request and see the response here!