Skip to main content

Create Employee


POST /services/api/v1/employees

Creates a new employee.

Request Body

{
"email": "john.doe@privatemail.com",
"company_email": "john.doe@companymail.org",
"first_name": "John",
"last_name": "Doe",
"phone": "+39 1234567890",
"language": "en",
"gender": "male",
"employee_status_id": "1AayjkI2",
"photo_url": "https://www.onboard.org/assets/images/logo/onboard_logo_RGB-340.png"
}

Response

The created employee.

{
"id": "7bBJMyz2",
"employee_status_id": "1AayjkI2",
"location_id": null,
"department_id": null,
"supervisor_id": null,
"first_name": "John",
"last_name": "Doe",
"language": "en",
"gender": "male",
"email": "john.doe@privatemail.com",
"company_email": "john.doe@companymail.org",
"phone": "+39 1234567890",
"company_phone": "+39 0471 234567"
"photo_url": "https://www.onboard.org/assets/images/logo/onboard_logo_RGB-340.png",
"birthday": "1992-06-15",
"tax_number": "RSSMRA84A41F132U",
"employee_number": "123",
"nationality": "DE",
"birthplace": "München",
"street": "Dr. J. Köllensperger Str. 10/b",
"city": "Lana",
"postal_code": "39011",
"region": "BZ",
"country_code": "IT",
"iban": "IT02930293209090",
"swift": "BIC12345",
"has_active_employee_job": true,
"has_active_or_future_employee_job": true,
"first_employee_job_from": null,
"first_employee_job_to": null,
"last_employee_job_from": null,
"last_employee_job_to": null,
"current_employee_job_from": null,
"current_employee_job_to": null,
"current_or_last_employee_job_from": null,
"current_or_last_employee_job_to": null,
"cf_110": null,
"created_at": "2023-12-31T09:32:31.262Z",
"updated_at": "2024-01-01T11:53:55.662Z"
}