Skip to Content
DevelopersAPI referenceExpenses

Create category

POST
/v1/expense-categories

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (blk_…) from Settings → API keys.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 80
archived?boolean

Response Body

application/json
  1. response
id*string
name*string
archived*boolean
Example Request
curl -X POST 'https://your-billleaf-api/v1/expense-categories' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response201
{  "id": "string",  "name": "string",  "archived": true}