---
title: "Get cost centers"
method: GET
path: "/cost_centers"
tags: ["Cost centers"]
---

# Get cost centers

`GET /cost_centers`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/cost_centers`
- Auth: HTTP bearer

Get all cost centers

## Query parameters

- `order` 'asc' | 'desc'
- `limit` integer
- `pagination_token` string
- `sort` 'name'
- `is_external` boolean

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- AccountingCostCenterListResponse
  - `data` AccountingCostCenterResponse[], required
    - `id` string, uuid, required
    - `created_at` string, date-time, required: The timestamp when the cost center was created.
    - `updated_at` string, date-time, required: The timestamp when the cost center was last updated.
    - `description` string: Description of the cost center
    - `is_external` boolean: Whether the cost center is from an external system
    - `name` string
  - `next_pagination_token` string
  - `prev_pagination_token` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/monite/apis/monite-3.md) - [All operations](https://skmtc.dev/monite/apis/monite-3/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-3/revisions/c13be6f83ce9?raw)
