---
search:
  tags:
    - employees
    - POST
seo:
  description: >-
    Creates a new salary entry or updates an existing one for an employee.
    Reference for the POST /employees/{id}/salaries endpoint in the Leadtime
    Public API API.
sidebar:
  badge: POST
  label: Create or update salary entry
title: Create or update salary entry
type: openapi-operation
---
Creates a new salary entry or updates an existing one for an employee.

**How it works:**
- If `id` is provided in the request body, updates the existing entry with that ID
- If `id` is omitted, creates a new entry
- Each entry defines a monthly salary amount that applies from a specific date

**Returns:** The updated employee object with all salary entries.

<Operation source="api-reference" id="employeescontroller-createorupdatesalary" />
