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

{
  "data": {
    "active_companies": 12345,
    "data": [
      {
        "integration_type": "ZOHO_BOOKS",
        "integrations": [
          "ZOHO_BOOKS"
        ],
        "invite_link_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
        "jobs": [],
        "last_synced": "2021-06-01T00:00:00.000Z",
        "last_synced_at": "2021-06-01T00:00:00.000Z",
        "metadata": null,
        "name": "RootFi Test Company",
        "rate_limit_sleep_time": null,
        "rate_limits": {
          "max_rate_limit": 5000,
          "remaining_rate_limit": 4200,
          "resets_in_date": "2021-06-01T00:00:00.000Z"
        },
        "rootfi_company_id": 1234,
        "rootfi_created_at": "2021-06-01T00:00:00.000Z",
        "rootfi_id": 1234,
        "rootfi_organisation_id": 12,
        "rootfi_updated_at": "2021-06-01T00:00:00.000Z",
        "status": "HEALTHY",
        "sync_enabled": true,
        "tally_last_active_at": null,
        "zoho_sub_calls_enabled": true
      }
    ],
    "pending_companies": 123
  },
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
  "request_timestamp": "2021-06-01T00:00:00.000Z",
  "response_timestamp": "2021-06-01T00:00:00.000Z"
}

Authorizations

api_key
string
headerrequired

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
request_id
string
required

The unique ID of the request

request_timestamp
string
required

The time at which the request was received by the server

response_timestamp
string
required

The time at which the response was sent by the server

data
object
required

The response of the company endpoint