v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
Categories

Retrieve category

Returns a single category by its Embat id.

get/categories/{companyId}/{id}

Path parameters

idstring required
companyIdstring required

Response

Successful Response

idstring required

Embat category ID. Referenced as categoryId on transactions, forecasts and operations.

companyIdstring required

Embat company ID. You can get them from "companies" endpoints

updatedAtstring date-time required

Last updated date of the entity in the database

createdAtstring date-time required

Created date of the entity in the database

namestring required

Category name.

parentIdstring nullable

Embat ID of the parent category. null for a top-level category.

Example response

{
  "name": "Providers"
}