Skip to main content
GET
/
company
/
all
curl --request GET \
  --url https://api.rootfi.dev/company/all \
  --header 'api_key: <api-key>'

{
  "request_timestamp": "2023-11-07T05:31:56Z",
  "response_timestamp": "2023-11-07T05:31:56Z",
  "request_id": "<string>",
  "data": {
    "pending_companies": 123,
    "active_companies": 123,
    "data": [
      {
        "integration_type": "ZOHO_BOOKS",
        "status": "HEALTHY",
        "last_synced": "<string>",
        "rate_limits": {},
        "zoho_sub_calls_enabled": true,
        "name": "<string>",
        "sync_enabled": true,
        "invite_link_id": "<string>",
        "integrations": [
          "ZOHO_BOOKS"
        ],
        "last_synced_at": "<string>",
        "jobs": [
          {}
        ],
        "rootfi_id": 123,
        "rootfi_company_id": 123,
        "rootfi_organisation_id": 123,
        "rootfi_integration_type": "ZOHO_BOOKS",
        "rootfi_updated_at": "2023-11-07T05:31:56Z",
        "rootfi_created_at": "2023-11-07T05:31:56Z",
        "rate_limit_sleep_time": "<string>",
        "tally_last_active_at": "<string>",
        "metadata": "<string>"
      }
    ]
  }
}
curl --request GET \
  --url https://api.rootfi.dev/company/all \
  --header 'api_key: <api-key>'

Authorizations

api_key
string
header
required

Query Parameters

limit
integer | null

The number of objects you want to retrieve

offset
integer | null

The index from where you want to start retrieving objects

Response

200 - application/json

The response of the get all companies endpoint.

request_timestamp
string<date-time>
required

The time at which the request was received by the server

response_timestamp
string<date-time>
required

The time at which the response was sent by the server

request_id
string
required

The unique ID of the request

data
FinalCompanyResponse · object
required

The response of the company endpoint