POST
/
sync
curl --request POST \
  --url https://api.rootfi.dev/sync \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data_models_to_sync": ["ACCOUNTS"],
  "integration_type": "ZOHO_BOOKS",
  "full_sync": true
}'
{
  "data": {
    "status": "success"
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2021-01-01T00:00:00Z",
  "response_timestamp": "2021-01-01T00:00:00Z"
}

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
number
required

Name of the company you are sending this Sync to. Useful identifier for you to internally reference this company.

data_models_to_sync
enum<string>[]
required

The data models to sync

Available options:
ACCOUNTS,
BALANCE_SHEET,
BANK_ACCOUNTS,
BANK_TRANSACTIONS,
BILL_CREDIT_NOTES,
BILL_PAYMENTS,
BILLS,
CASH_FLOW_STATEMENT,
COMPANY_INFO,
CONTACTS,
CURRENCIES,
EXPENSES,
INCOME_STATEMENT,
INVOICE_CREDIT_NOTES,
INVOICE_PAYMENTS,
INVOICES,
ITEMS,
JOURNAL_ENTRIES,
PURCHASE_ORDERS,
SALES_ORDERS,
TAX_RATES,
TRACKING_CATEGORIES
full_sync
boolean
required

Whether or not to perform a full sync

integration_type
enum<string>
required
Available options:
ZOHO_BOOKS,
QUICKBOOKS_SANDBOX,
QUICKBOOKS,
XERO,
TALLY,
SAGE_CLOUD_ACCOUNTING,
MS_DYNAMICS_365,
SAGE_ZA_CLOUD_ACCOUNTING,
MYOB_BUSINESS,
WAVE,
ODOO_ACCOUNTING,
NETSUITE,
WAFEQ,
MEKARI_JURNAL,
BUSY,
ROOTFI_SANDBOX,
QOYOD

Response

200 - application/json
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server

data
object
required

The response data of the delete invite link endpoint