---
title: "Create a new employee in Loket"
method: POST
path: "/v2/providers/employers/{employerId}/employee"
tags: ["Employee"]
---

# Create a new employee in Loket

`POST /v2/providers/employers/{employerId}/employee`

__Activity name :__ PostEmployeeByEmployerId

This endpoint 'creates' an employee in Loket with its corresponding entities. This means creating a number of records including Employee, Employment, WorkingHours, Wage etc.

Before doing performing these steps, quite a number of validations are performed to ensure that the provided information can be used to create a functionally valid employee.

## Path parameters

- `employerId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `201`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/revisions/32d1693f8db8/schema)
