Companies
Get One Company
General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
Companies
Get One Company
Retrieve one company from the database based on the ID.
GET
/
company
/
{company_id}
curl --request GET \
--url https://integrate.rootfi.dev/company/{company_id} \
--header 'api_key: <api_key>'
{
"data": {
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_organisation_id": 12,
"name": "RootFi Test Company",
"sync_enabled": true,
"InviteLinks": {
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
},
"Connections": [
{
"status": "HEALTHY",
"integration_type": "ZOHO_BOOKS",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limits": {
"max_rate_limit": 10000,
"resets_in_date": "2021-01-01T00:00:00Z",
"remaining_rate_limit": 10000
},
"tally_last_active_at": null,
"sync_status": "IDLE"
}
]
},
"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://integrate.rootfi.dev/company/{company_id} \
--header 'api_key: <api_key>'
Authorizations
Path Parameters
The ID of the company to retrieve.
Response
200 - application/json
Response object for the get one company endpoint.
curl --request GET \
--url https://integrate.rootfi.dev/company/{company_id} \
--header 'api_key: <api_key>'
{
"data": {
"rootfi_id": 1234,
"rootfi_created_at": "2021-06-01T00:00:00.000Z",
"rootfi_updated_at": "2021-06-01T00:00:00.000Z",
"rootfi_organisation_id": 12,
"name": "RootFi Test Company",
"sync_enabled": true,
"InviteLinks": {
"invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
},
"Connections": [
{
"status": "HEALTHY",
"integration_type": "ZOHO_BOOKS",
"last_synced": "2021-06-01T00:00:00.000Z",
"rate_limits": {
"max_rate_limit": 10000,
"resets_in_date": "2021-01-01T00:00:00Z",
"remaining_rate_limit": 10000
},
"tally_last_active_at": null,
"sync_status": "IDLE"
}
]
},
"request_timestamp": "2021-06-01T00:00:00.000Z",
"response_timestamp": "2021-06-01T00:00:00.000Z",
"request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}