Categories (obsolete)
The current version of this feature is obsolete. A major redesign of it is in progress.
API endpoints
Authentication: endpoints listed in this page require header authentication with a user token.
List categories
GET
https://{domain}.biapi.pro/2.0/categories
Get all categories.
Response body: CategoriesList object
Category
GET
https://{domain}.biapi.pro/2.0/categories/{categoryId}
Get a single category by ID.
Path Parameters
Name | Type | Description |
---|---|---|
categoryId* | Integer | Category ID. |
Response body: Category object
Data model
CategoriesList object
Property | Type | Description |
---|---|---|
| Array of Category objects | The full list of categories. |
Category object
Property | Type | Description |
---|---|---|
| Integer | ID of the category. |
| Integer | ID of the parent category. If this is a parent category, it will be equal to its own ID. |
| String | Name of the category. |
| String | Color of the category. |
| Boolean or null | Is an income category. If null, this is both an income and an expense category. |
| Boolean | This category accepts opposite sign of transactions. |
| Integer or null | ID of the logo. |
Last updated