latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-041561443.9 MB

791e242d1faf

Financial statements

List accounts

The List accounts endpoint returns a list of accounts for a given company's connection.

Accounts are the categories a business uses to record accounting transactions.

Before using this endpoint, you must have retrieved data for the company.

get/companies/{companyId}/data/accounts

Path parameters

companyIdstring uuid required

Unique identifier for your SMB in Codat.

Example:8a210b68-6988-11ed-a1eb-0242ac120002

Unique identifier for a company.

Query parameters

pageinteger
Example:1

Page number. Read more.

pageSizeinteger
Example:100

Number of records to return in a page. Read more.

querystring

Codat query string. Read more.

orderBystring
Example:-modifiedDate

Field to order results by. Read more.

Response

Success

AccountingAccounts required— unresolved $ref