List GL accounts
Chart of accounts for coding bills. Use before writing line items to resolve a name or code (e.g. "insurance") to an id.
Query Parameters
- Type: integerlimitmin:1max:100
Page size, 1–100. Defaults to 25.
- Type: stringcursormax length:300
Opaque token from the previous response's
pagination.nextCursor. - Type: stringqmax length:200
Case-insensitive name or code substring.
- Type: string enumactive
When true, only active non-deleted accounts.
values- true
- false
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for get/gl-accounts
curl https://app.joltly.io/api/v1/gl-accounts \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "string",
"code": "string",
"name": "string",
"accountType": null,
"active": true
}
],
"pagination": {
"nextCursor": null
}
}