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

# Get cost center

`GET /v2/companies/{companyId}/cost-centers/{costCenterId}`

## Request

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

This endpoint gets a cost center by ID.

## Response `200`

OK

- CostCenter: Cost center details.
  - `id` CostCenterId, required
    - `id` string, required
  - `name` string, required
  - `externalId` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: The specified resource was not found.

---

[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)
