General
Server Side SDKs
Core API
- Companies
- Invite Links
- Sync
- Passthrough
- Real Time
- Webhooks
Unified API
- Accounting
- Payments
- Ecommerce
- CRM
Get Syncs
Retrieve all syncs from the database.
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"
}
Authorizations
Query Parameters
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
Response
The data of the syncs endpoint
The data of the invite link endpoint
The data of the invite link endpoint
The ID of the sync
1
The created time of the sync
"2024-06-21T08:07:05.750Z"
The updated time of the sync
"2024-06-21T08:07:05.750Z"
The ID of the company
8422
The start time of the sync
"2024-06-21T08:07:05.000Z"
The end time of the sync
"2024-06-21T08:07:40.382Z"
The type of integration
ZOHO_BOOKS
, QUICKBOOKS_SANDBOX
, QUICKBOOKS
, XERO
, TALLY
, ROOTFI_SANDBOX
, SAGE_CLOUD_ACCOUNTING
, MS_DYNAMICS_365
, SAGE_ZA_CLOUD_ACCOUNTING
, MYOB_BUSINESS
, NETSUITE
, WAVE
, ODOO_ACCOUNTING
, WAFEQ
, MEKARI_JURNAL
, BUSY
, QOYOD
, STRIPE
, RAZORPAY
, PAYPAL
, SHOPIFY
, BIG_COMMERCE
, WOO_COMMERCE
, HUBSPOT
, SALESFORCE
, PIPEDRIVE
, ZOHO_CRM
Whether the sync was a full sync
true
The type of sync.
MANUAL
, AUTO_SYNC
The config mode of the sync.
CREATE
, READ
, UPDATE
, DELETE
, DOWNLOAD
, CUSTOM
The sync data models of the sync.
["CUSTOM_ACCOUNT_TRANSACTIONS"]
The ID of the sync
"hjmm4d2HDHB60a2"
The total count of the sync
3
The success count of the sync
3
The failed count of the sync
0
The running count of the sync
0
The pending count of the sync
0
The status of the sync
CREATED
, RUNNING
, SUCCESS
, FAILED
The next page of objects to retrieve
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"
}