GetbeelDocs
API referenceReceived invoices

List invoice categories

The team's categories for received invoices (expense categories), in the app's order. The slug is what received invoices carry in category. Both key modes.

GET
/categories

The team's categories for received invoices (expense categories), in the app's order. The slug is what received invoices carry in category. Both key modes.

Authorization

apiKey
headerAuthorizationBearer <token>

API key: gb_test_… or gb_live_…

Header Parameters

Getbeel-Company?string

Act on one of the account's client companies (its id from GET /companies) instead of the key's own account. 404 company_not_found when the key cannot act on it.

Formatuuid

Response Body

OK

application/json
  1. response
object*string
data*array<>
has_more*boolean
next_cursor*string|null
Example Request
curl -X GET 'https://www.getbeel.com/api/v1/categories'
Example Response
{  "object": "list",  "data": [    {      "object": "category",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "software",      "label": "string",      "color": "string",      "is_default": true,      "sort_order": -9007199254740991    }  ],  "has_more": true,  "next_cursor": "string"}