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
  • limit
    Type: integer
    min:  
    1
    max:  
    100

    Page size, 1–100. Defaults to 25.

  • cursor
    Type: string
    max length:  
    300

    Opaque token from the previous response's pagination.nextCursor.

  • q
    Type: string
    max length:  
    200

    Case-insensitive name or code substring.

  • active
    Type: string enum

    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
  }
}