Create a category

Create a category

ℹ️

This endpoint requires the following scope: categories:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
enum

Only applicable for treasury categories. If not provided, defaults to "cash_out".


Only applicable for treasury categories

int64
required
string | null

Categories cannot be created in a category group whose kind is structured_analytical
through this endpoint, even when an analytical_code is provided.

int64 | null

Id of the ledger account to map to this category.
Only valid for categories belonging to a category group with self-service accounting enabled; rejected otherwise.
Bank, pending, and, when applicable, cash accounts cannot be used as transaction counterparts.

Headers
string

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

Responses

414

URI Too Long: the request URL exceeds the maximum length. Shorten the query string, for example by sending fewer values per query parameter and splitting them across several requests.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json