List Cost Categories
GET/api/cost-categories
List all cost categories, ordered by name.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Each category includes its default_nominal_code_id and, when set, an embedded default_nominal_code object ({id, code, name}). The default nominal code is the account a landed-cost bill line assigned to this category posts its debit to by default (an explicit nominal code on the line still wins; if the category has no default, posting falls back to the nominal code mapping settings).
Query parameters:
selectable(boolean) — exclude system categoriesis_active(boolean) — filter by active/archivedwith_usage_counts(boolean) — include usage counts
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.