Retrieve Company Connections
This method is used to retrieve all data sources connected to a single company, including their connection statuses. The call is made through the GET /companies/{client_id}/connections Codat endpoint.
Copy
{
"results": [
{
"id": "c770be55-d2fa-4c50-bf99-616e981588ad",
"integrationId": "9e0cc03b-3868-4543-98c0-568f0f1b12a3",
"sourceId": "aff0f057-255f-42c4-8d4a-ae23b43e1615",
"platformName": "Sandbox",
"linkUrl": "https://link-api.codat.io/companies/4a495b2c-cf23-46f3-b856-83f344d150c7/connections/c770be55-d2fa-4c50-bf99-616e981588ad/start",
"status": "Linked",
"lastSync": "2022-03-16T10:55:37.3526128Z",
"created": "2022-03-16T10:51:00Z",
"sourceType": "Accounting"
},
{
"id": "c783736f-06ca-4fbd-b4b1-eb7764684e9d",
"integrationId": "b27611c5-c104-4360-b979-e8f6b16db164",
"sourceId": "fac84d06-5a70-4e9e-bf46-7607e647b036",
"platformName": "Commerce Sandbox",
"linkUrl": "https://link-api.codat.io/companies/4a495b2c-cf23-46f3-b856-83f344d150c7/connections/c783736f-06ca-4fbd-b4b1-eb7764684e9d/start",
"status": "Linked",
"lastSync": "2022-03-18T08:36:42.6362661Z",
"created": "2022-03-16T11:09:17Z",
"sourceType": "Commerce"
}