---
title: "Create cost center"
method: POST
path: "/v2/companies/{companyId}/cost-centers"
tags: ["Cost Centers"]
---

# Create cost center

`POST /v2/companies/{companyId}/cost-centers`

## Request

- Base URL: `https://api-ext-sboxmeta.partners.spotnana.com`
- URL: `https://api-ext-sboxmeta.partners.spotnana.com/v2/companies/{companyId}/cost-centers`
- Auth: HTTP bearer

This endpoint creates a cost center.

## Request body

- CreateCostCenterRequest: Request body for cost center create API.
  - `name` string, required
  - `numberOfEmployees` integer
  - `externalId` string

## Response `201`

OK

- EntityId: Identifier of an object
  - `id` string, uuid, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/spotnana/apis/company-api.md) - [All operations](https://skmtc.dev/spotnana/apis/company-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spotnana/apis/company-api/revisions/184a1b415751?raw)
