Finance > CostCenterMembership
Reads all Cost center memberships
Changed onReads all Cost center memberships
get/api/2026-10-01/resources/finance/cost_center_memberships
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/finance/cost_center_memberships
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: finance
- or API key in header x-api-key
Query parameters
cost_center_idstring
To retreive active cost center memberships for a specific cost center
Example:1
employee_idstring
To retreive active cost center memberships for a specific employee
Example:1
active_onstring
To retreive active cost center memberships for a specific date
Example:2020-01-01
only_activeboolean
To retreive only active cost center memberships, this is the default behavior
applying_onstring
To retreive cost center memberships applying on a specific date
Example:2020-01-01
company_idstring
retrieve the cost center memberships for a specific company
Example:1
cost_center_ids[]string[]
retrieve the cost center memberships for a list of cost centers
[ "1" ]
Response
OK
Example response
{
"data": [
{
"id": "1",
"employee_id": "1",
"cost_center_id": "1",
"start_date": "2020-01-01",
"end_date": "2020-12-31",
"percentage": 0.5
}
]
}Changes
- info
endpoint added
- info