List expense categories
Lists expense categories the caller can see. Results are filtered by the caller's accessible organizations; many routes paginate via page and limit.
Scope: expenses:read
Endpoint: GET /api/expense-categories
Example request
curl "https://guliel.com/api/expense-categories?organizationId=value" \
-H "Authorization: Bearer $GULIEL_API_KEY"Query parameters
organizationIdreqstring
Response (200/201)
categoriesreqarray<object>idreqstringorganizationIdreqstringnamereqstringcolorreqstring | nullisDefaultreqboolean_countobjectexpensesreqinteger
createdAtreqstringupdatedAtreqstring
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
500 | Internal |