List companies
The List companies endpoint returns a list of companies associated to your instances.
A company represents a business sharing access to their data. Each company can have multiple connections to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
Filter by tags
The List companies endpoint supports the filtering of companies using tags. It supports the following operators with Codat’s query language:
- equals (=)
- not equals (!=)
- contains (~)
For example, you can use the querying to filter companies tagged with a specific foreign key, region, or owning team:
- Foreign key: uid = {yourCustomerId}
- Region: region != uk
- Owning team and region: region = uk && owningTeam = invoice-finance
Query parameters
Page number. Read more.
Number of records to return in a page. Read more.
Codat query string. Read more.
Field to order results by. Read more.
Filter companies by tags using the "equals" (=), "not equals" (!=), and "contains" (~) operators with Codat’s query language.
Response
OK
Changes
Changed in 9 of the 52 revisions of this API.715
- ○
added the optional property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/ownerUserIdsto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #2]/dataConnections/items/integrationKeybecame optional for the status200response-property-became-optional
- ▲
- ○
added the new optional
queryrequest parametertagsnew-optional-request-parameter
- ○
- ○
added the optional property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/referenceParentCompanyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/referenceSubsidiaryCompaniesto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #2]/dataConnections/items/dataConnectionErrorsbecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #2]/dataConnections/items/connectionInfobecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #2]/dataConnections/items/lastSyncbecame nullable for the status200response-property-became-nullable
- ▲
- ●
removed the optional property
allOf[subschema #1]/results/items/allOf[subschema #2]/dataConnections/items/additionalPropertiesfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the optional property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/productsto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/createdByUserNamebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #1]/results/items/allOf[subschema #1: Company details]/lastSyncbecame nullable for the status200response-property-became-nullable
- ▲