cURL
curl --request GET \ --url https://api.rootfi.dev/v3/core/syncs \ --header 'api_key: <api-key>'
{ "data": [ { "rootfi_id": 1, "rootfi_created_at": "2021-08-31T18:00:00Z", "rootfi_updated_at": "2021-08-31T18:00:00Z", "rootfi_company_id": 1, "start_time": "2021-08-31T18:00:00Z", "end_time": "2021-08-31T18:00:00Z", "integration_type": "XERO", "full_sync": true, "sync_type": "AUTO_SYNC", "config_mode": "READ", "sync_data_models": [ "ACCOUNTS", "CONTACTS" ], "sync_id": "VmaVgKMaiygMzTK1", "total_count": 100, "success_count": 100, "failed_count": 0, "running_count": 0, "pending_count": 0, "status": "SUCCESS" } ], "next": "https://api.rootfi.dev/syncs?next=eyJpZCI6MX0%3D" }
Retrieve all syncs from the database.
The number of objects you want to retrieve
The ID of the company
The next page of objects to retrieve
The previous page of objects to retrieve
The data of the syncs endpoint