General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
Companies
Get All Companies
Retrieve all companies from the database based on the query parameters provided (limit, offset).
GET
/
company
/
all
curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
{
"data": {
"pending_companies": 123,
"active_companies": 12345,
"data": [
{
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_company_id": 1234,
"integration_type": "ZOHO_BOOKS",
"status": "HEALTHY",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limit_sleep_time": null,
"rootfi_organisation_id": 12,
"rate_limits": {
"max_rate_limit": 5000,
"resets_in_date": "2021-06-01T00:00:00.000Z",
"remaining_rate_limit": 4200
},
"tally_last_active_at": null,
"zoho_sub_calls_enabled": true,
"name": "RootFi Test Company",
"sync_enabled": true,
"metadata": null,
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
"integrations": [
"ZOHO_BOOKS"
],
"last_synced_at": "2021-06-01T00:00:00.000Z",
"jobs": []
}
]
},
"request_timestamp": "2021-06-01T00:00:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
Authorizations
Query Parameters
The number of objects you want to retrieve
The index from where you want to start retrieving objects
Response
200 - application/json
The response of the get all companies endpoint.
curl --request GET \
--url https://api.rootfi.dev/company/all \
--header 'api_key: <api-key>'
{
"data": {
"pending_companies": 123,
"active_companies": 12345,
"data": [
{
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_company_id": 1234,
"integration_type": "ZOHO_BOOKS",
"status": "HEALTHY",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limit_sleep_time": null,
"rootfi_organisation_id": 12,
"rate_limits": {
"max_rate_limit": 5000,
"resets_in_date": "2021-06-01T00:00:00.000Z",
"remaining_rate_limit": 4200
},
"tally_last_active_at": null,
"zoho_sub_calls_enabled": true,
"name": "RootFi Test Company",
"sync_enabled": true,
"metadata": null,
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
"integrations": [
"ZOHO_BOOKS"
],
"last_synced_at": "2021-06-01T00:00:00.000Z",
"jobs": []
}
]
},
"request_timestamp": "2021-06-01T00:00:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
Assistant
Responses are generated using AI and may contain mistakes.