/api/v6/account/cost-centersCost centers
Cost centers of the organization, with the default one flagged.
Scope and limits
API key with the directory capability granted
60 requests per minute
Cost centers of the organization. Every API key is bound to one, and that is where usage attribution comes from.
Includes personal data
The API key must have the directory capability explicitly enabled. Access to all services does NOT grant it. A key without the capability gets 403.
Responses
Cost centers.
{
"success": true,
"data": {
"items": [
{
"id": 17,
"code": "1607230448",
"name": "Centro de costos general",
"status": "active",
"isDefault": true
}
]
},
"meta": {
"requestId": "b9b1704baffab21150213c02fd853975",
"timestamp": "2026-06-02T19:43:59+00:00",
"responseTimeMs": 4.1
}
}Invalid or missing credentials.
The API key lacks the required capability, or the organization cannot run the request.
Request limit exceeded.
Possible errors
Codes this endpoint can return in error.code. The full detail lives in the catalog.
AUTH_REQUIREDNo Bearer token was sent, and every call requires one.401AUTH_INVALID_KEYThe API key is not recognized: wrong format, revoked or expired.401AUTH_SERVICE_NOT_ALLOWEDThe key is not allowed to use the service behind this endpoint.403ACCOUNT_NOT_ACTIVEYour organization is suspended or closed.403ACCOUNT_BLOCKEDA full block is active: every call is rejected.403ACCOUNT_CONFIG_NOT_FOUNDWe could not load the organization behind your key.403FORBIDDENGeneric 403: fallback when no `ACCOUNT_*` applies.429RATE_TPS_EXCEEDEDYou exceeded your organization quota for this endpoint.