General
Server Side SDKs
Core API
- Companies
- Invite Links
- Sync
- Passthrough
- Real Time
- Webhooks
Unified API
- Accounting
- Payments
- Ecommerce
- CRM
Companies
Get Company
Retrieve a single company from the database.
GET
/
core
/
companies
/
{company_id}
curl --request GET \
--url https://api.rootfi.dev/v3/core/companies/{company_id} \
--header 'api_key: <api-key>'
{
"data": {
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"name": "Rootfi",
"partner_id": "<string>",
"invite_link": {
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"invite_link_id": "1",
"integrations": [
"ZOHO_BOOKS"
],
"integration_categories": [
"ACCOUNTING"
]
},
"connections": [
{
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"integration_type": "ZOHO_BOOKS",
"category": "ACCOUNTING",
"connection_status": "HEALTHY",
"sync_status": "IDLE",
"sync_resume_at": "2023-11-07T05:31:56Z",
"last_synced": "2023-11-07T05:31:56Z",
"rate_limits": {
"counters": {},
"lastReset": {},
"maxLimits": {}
},
"tally_last_active_at": "2023-11-07T05:31:56Z",
"zoho_sub_calls_enabled": false,
"sync_config": {
"enabled": true,
"interval": 1,
"frequency": "DAILY",
"data_model": "ACCOUNTS",
"category": "ACCOUNTING",
"scope_access": {
"READ": true,
"CREATE": true,
"UPDATE": true,
"DELETE": true
},
"sync_from": "2023-11-07T05:31:56Z",
"custom_fields": [
"<string>"
]
}
}
],
"activity_log": [
{
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"activity_type": "ORG_CREATED"
}
]
}
}
Authorizations
Path Parameters
The ID of the company to retrieve
Response
200
application/json
The data of the company endpoint
curl --request GET \
--url https://api.rootfi.dev/v3/core/companies/{company_id} \
--header 'api_key: <api-key>'
{
"data": {
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"name": "Rootfi",
"partner_id": "<string>",
"invite_link": {
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"invite_link_id": "1",
"integrations": [
"ZOHO_BOOKS"
],
"integration_categories": [
"ACCOUNTING"
]
},
"connections": [
{
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"integration_type": "ZOHO_BOOKS",
"category": "ACCOUNTING",
"connection_status": "HEALTHY",
"sync_status": "IDLE",
"sync_resume_at": "2023-11-07T05:31:56Z",
"last_synced": "2023-11-07T05:31:56Z",
"rate_limits": {
"counters": {},
"lastReset": {},
"maxLimits": {}
},
"tally_last_active_at": "2023-11-07T05:31:56Z",
"zoho_sub_calls_enabled": false,
"sync_config": {
"enabled": true,
"interval": 1,
"frequency": "DAILY",
"data_model": "ACCOUNTS",
"category": "ACCOUNTING",
"scope_access": {
"READ": true,
"CREATE": true,
"UPDATE": true,
"DELETE": true
},
"sync_from": "2023-11-07T05:31:56Z",
"custom_fields": [
"<string>"
]
}
}
],
"activity_log": [
{
"rootfi_id": 123,
"rootfi_created_at": "2023-11-07T05:31:56Z",
"rootfi_updated_at": "2023-11-07T05:31:56Z",
"activity_type": "ORG_CREATED"
}
]
}
}