General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
Sync
Create an Sync
Sync a company to the platform.
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_timestamp": "2021-01-01T00:00:00Z",
"response_timestamp": "2021-01-01T00:00:00Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
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
}'
Authorizations
Body
application/json
Request body for creating an Sync
Response
200 - application/json
The response is of type object
.
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_timestamp": "2021-01-01T00:00:00Z",
"response_timestamp": "2021-01-01T00:00:00Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}