v1
latestOpenAPI 3.1.02026-07-2420077.8 KBCost centers
Get cost center
Retrieves a cost center by its ID, including assigned users, approver, delegate, and company scope
get/cost_centers/{id}
Path parameters
idstring required
The unique ID of the cost center
Headers
Authorizationstring required
Your Perk API key
Response
Returns '200 OK' and the cost center resource.
Example response
{
"id": "1",
"name": "Marketing",
"approver_id": 123,
"approver": {
"id": 123,
"first_name": "Alex",
"last_name": "Chen",
"email": "alex.chen@company.com"
},
"delegate_id": 456,
"delegate": {
"id": 456,
"first_name": "Jordan",
"last_name": "Smith",
"email": "jordan.smith@company.com"
},
"delegate_expiry": "2025-12-31",
"all_companies": true,
"companies": [
{
"id": 1,
"name": "Company A"
}
],
"users": [
{
"id": 42,
"first_name": "Alex",
"last_name": "Chen",
"email": "alex.chen@company.com"
}
],
"count_users": 1,
"erp_code": "CC-4210"
}