Listar centros de classificação
GET/classification_centers
Returns a cursor-paginated page of classification centers for the workspace tied to the token's sub claim. Company-scoped within the workspace — pass ?company_id=… to narrow. Requires scope finance.cost_centers. Naming: this resource keeps two pre-rename spellings — the path uses an underscore (/classification_centers) while every other v1 path is hyphenated, and the scope is finance.cost_centers, not finance.classification_centers. Both are frozen for backward compatibility; the hyphenated path is not an alias and returns 404.
Requisição
Respostas
- 200
- 400
- 401
- 403
- 429
- 500
Page of classification centers plus pagination metadata.
Malformed query (unknown filter / operator, invalid limit, bad cursor).
Missing / invalid / expired / revoked token.
Token authenticated but lacks the finance.cost_centers scope, or sub does not match any workspace.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries ratelimit-limit, ratelimit-remaining, ratelimit-reset and retry-after — wait out retry-after rather than retrying immediately.
Unhandled server error.