---
title: "Update job headcount."
method: PATCH
path: "/jobs/{jobId}/headcount"
tags: ["jobs"]
---

# Update job headcount.

`PATCH /jobs/{jobId}/headcount`

## Request

- Base URL: `https://api.smartrecruiters.com`
- URL: `https://api.smartrecruiters.com/jobs/{jobId}/headcount`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `jobs_manage`

Update job headcount.

## Request body

- HeadcountPatchRequest
  - `salaryRange` SalaryRange
    - `min` number, double
    - `max` number, double
    - `currency` string

## Response `202`

Accepted headcount update request

- HeadcountUpdateAccepted
  - `status` 'PENDING'

## Other responses

- `400`: with codes * **CANNOT_START_APPROVAL_PROCESS** when approval process cannot be started * **INVALID_SALARY_RANGE** when salary range is not valid
- `401`: with codes * **PERMISSION_DENIED** when job access forbidden
- `403`: with codes * **APPROVAL_PROCESS_NOT_ENABLED** when approval process is not enabled

---

[API](https://skmtc.dev/smartrecruiters/apis/jobs-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/jobs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/jobs-api/revisions/d7e4e0f20115?raw)
