POST
/
core
/
real_time
curl --request POST \
  --url https://api.rootfi.dev/v3/core/real_time \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data_model": "COMPANY_INFO",
  "variables": {
    "per_page": 100,
    "page": 1
  }
}'
{
  "data": {
    "addresses": {
      "data": [
        {
          "city": "Hyderabad",
          "country": "India",
          "data_model": "CONTACTS",
          "data_model_id": "3770712000001721005",
          "locality": "Koramanager",
          "pincode": "500045",
          "platform_id": "3770712000001721013_CONTACTS_3770712000001721005_SHIPPING",
          "state": "Bengalore",
          "street": "21 street house",
          "type": "SHIPPING",
          "updated_at": "2023-11-05T00:00:00.000Z"
        }
      ]
    },
    "base_currency": "INR",
    "external_links": {
      "data": [
        {
          "data_model": "CONTACTS",
          "data_model_id": "3770712000001721005",
          "link": "https://www.rootfi.dev",
          "platform_id": "CONTACTS_3770712000001721005_WEBSITE",
          "type": "WEBSITE",
          "updated_at": "2023-11-05T00:00:00.000Z"
        }
      ]
    },
    "fiscal_start_at": "2023-12-31T00:00:00.000Z",
    "legal_name": "RootFi Inc.",
    "name": "RootFi",
    "org_created_at": "2023-12-31T00:00:00.000Z",
    "phone_numbers": {
      "data": [
        {
          "data_model": "CONTACTS",
          "data_model_id": "3770712000001721005",
          "number": "+919*********",
          "platform_id": "CONTACTS_3770712000001721005_MOBILE",
          "type": "MOBILE",
          "updated_at": "2023-11-05T00:00:00.000Z"
        }
      ]
    },
    "platform_id": "1234567890123456789",
    "registration_number": "07CEUPK5322M1ZX",
    "tax_number": "ODSPS1279G",
    "updated_at": "2023-12-31T00:00:00.000Z"
  }
}

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
integer
required

The ID of the company to retrieve real_time data for.

data_model
string
required

The data model to retrieve real_time data for.

variables
object
required

The variables to retrieve real_time data for.

Response

200 - application/json
data
object
required

The data returned from the integration platform.