---
title: "Create the headcount plan"
method: POST
path: "/headcount/plan"
tags: ["Headcount"]
---

# Create the headcount plan

`POST /headcount/plan`

## Request

- Base URL: `https://api.cubesoftware.com`
- URL: `https://api.cubesoftware.com/headcount/plan`
- Auth: OAuth 2
  - Authorization code: `https://portal.cubesoftware.com/o/authorize/`
  - Token URL: `https://api.cubesoftware.com/o/token/`

Builds the headcount plan on one of the company's planning tables and creates that table's headcount source data table. A company has one plan, and the plan stays in place once created.

## Headers

- `X-Company-ID` string, required

## Request body

- HeadcountPlan: Mixin to delegate create, update, and destroy operations to a service class.
  - `planning_table` integer, required

## Response `201`

- HeadcountPlan: Mixin to delegate create, update, and destroy operations to a service class.
  - `planning_table` integer, required

## Changes

> 34 revisions in range; 1 not diffed.

- **2026-10-22** `5a40dff5e8a1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/headcount/plan/post.md)

---

[API](https://skmtc.dev/cubesoftware/apis/cube-api.md) - [All operations](https://skmtc.dev/cubesoftware/apis/cube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cubesoftware/apis/cube-api/revisions/92c7a097d975?raw)
