Cost centers

List all cost centers

Lists all cost centers in your organization. Returns a paginated list with offset and limit controls. When cost object types are enabled for your organization, each item includes an optional type field (string name or null).

get/cost_centers

Request

  • Base URL
    https://api.perk.com
  • URL
    https://api.perk.com/cost_centers
  • Auth
    none declared. Required headers: Authorization

Headers

Authorizationstring required

Your Perk API key

Response

Returns '200 OK' and a paginated list of cost centers.

offsetinteger

The number of items skipped before the current page

limitinteger

The maximum number of items returned per page

Example response

{
  "limit": 10,
  "cost_centers": [
    {
      "id": "2",
      "name": "Marketing",
      "type": "Department"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.