List accounts
GET
/v1/accountsReturns the company's whole chart of accounts, not paginated. Headings and subtotals are included; only profitAndLoss and status accounts can be posted to.
Requires one ofsetup:readread:ledger
Errors
401Invalid or missing authentication403Missing scope, or the company is archived429Rate limit exceeded500Internal Server Error
Every error has the same shape. See Errors.
curl https://api.numina.app/v1/accounts \
-H "Authorization: Bearer numi_YOUR_API_KEY"const response = await fetch("https://api.numina.app/v1/accounts", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.NUMINA_API_KEY}`,
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://api.numina.app/v1/accounts",
headers={
"Authorization": f"Bearer {os.environ['NUMINA_API_KEY']}",
},
)
data = response.json()Response
{
"accounts": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_number": 3000,
"name": "Revenue",
"description": "Revenue from sales",
"account_type": "profitAndLoss",
"default_vat_code": "U25"
}
]
}