Accounts

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

Accounts required— unresolved $ref

Changes

Changed in 1 of the 52 revisions of this API.4

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #4: Modified dates]/allOf[subschema #1: ModifiedDate]/modifiedDate response property allOf list for the response status 200

      response-property-all-of-added

    • added created to the allOf[subschema #1]/results/items/allOf[subschema #4: Modified dates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate response property allOf list for the response status 200

      response-property-all-of-added

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #4: Modified dates]/allOf[subschema #1: ModifiedDate]/modifiedDate response property allOf list for the response status 200

      response-property-all-of-removed

    • removed created from the allOf[subschema #1]/results/items/allOf[subschema #4: Modified dates]/allOf[subschema #2: Source Modified Date]/sourceModifiedDate response property allOf list for the response status 200

      response-property-all-of-removed