POST
/
core
/
passthrough
curl --request POST \
  --url https://api.rootfi.dev/v3/core/passthrough \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data": {
    "method": "GET",
    "headers": {},
    "path": "/Accounts",
    "data": {},
    "params": {}
  }
}'
{
  "data": {
    "data": {
      "code": 0,
      "contacts": [
        {
          "ach_supported": false,
          "contact_id": "3770712000001545104",
          "contact_name": "Albert Brown",
          "created_time": "2023-10-13T11:44:39+0530",
          "created_time_formatted": "13/10/2023",
          "custom_field_hash": {},
          "custom_fields": [],
          "gst_no": "07CEUPK5322M1XX",
          "gst_treatment": "business_gst",
          "has_attachment": false,
          "last_modified_time": "2023-10-13T11:44:39+0530",
          "last_modified_time_formatted": "13/10/2023",
          "pan_no": "ODSPS1279F",
          "place_of_contact": "DL",
          "place_of_contact_formatted": "Delhi",
          "portal_status": "disabled"
        }
      ],
      "message": "success",
      "page_context": {
        "applied_filter": "Status.All",
        "custom_fields": [],
        "has_more_page": false,
        "page": 1,
        "per_page": 200,
        "report_name": "Contacts",
        "sort_column": "contact_name",
        "sort_order": "A"
      }
    }
  }
}

Authorizations

api_key
string
headerrequired

Body

application/json
company_id
integer
required

The ID of the company to retrieve passthrough data for.

data
object
required

The request config object for axios.

Response

200 - application/json
data
object
required

The data returned from the integration platform.