---
title: "Get cost center"
method: GET
path: "/v2/cost_centers/{id}"
tags: ["Cost Centers"]
---

# Get cost center

`GET /v2/cost_centers/{id}`

## Request

- Base URL: `https://api.brex.com`
- URL: `https://api.brex.com/v2/cost_centers/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://accounts-api.brex.com/oauth2/default/v1/authorize`
    - Token URL: `https://accounts-api.brex.com/oauth2/default/v1/token` scopes: `cost_centers.readonly`
  - OAuth 2
    - Authorization code: `https://accounts-api.brex.com/oauth2/default/v1/authorize`
    - Token URL: `https://accounts-api.brex.com/oauth2/default/v1/token` scopes: `cost_centers`
- TypeScript: <https://skmtc.dev/brex-com/apis/team-api/docs/v2/cost_centers/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint gets a cost center by ID.

## Path parameters

- `id` string, required

## Response `200`

getCostCenterById 200 response

- CostCenterResponse
  - `id` string, required
  - `name` string, required: Name of the cost center

## Changes

- **2026-09-30** `76616101e54a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brex-com/apis/team-api/changes/v2/cost_centers/:id/get.md)

---

[API](https://skmtc.dev/brex-com/apis/team-api.md) - [All operations](https://skmtc.dev/brex-com/apis/team-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brex-com/apis/team-api/revisions/76616101e54a?raw)
