Get Cost Centers

Allowed Scopes: cost-center:read

Returns cost centers of the Spendesk entity (company). Cost centers data are cached for up to 24 hours. Changes made through the API are returned by subsequent reads; changes made in Spendesk can take up to 24 hours to appear.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
ids
array of uuids

Cost center IDs to filter by.

ids
boolean
Defaults to false

Whether to include archived cost centers in the response. Defaults to false.

Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json