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": 1111,
  "data": {
    "method": "GET",
    "path": "/contacts",
    "headers": {},
    "data": {},
    "params": {}
  }
}'
{
  "data": {
    "data": {
      "code": 0,
      "message": "success",
      "contacts": [
        {
          "contact_id": "3770712000001545104",
          "contact_name": "Albert Brown",
          "portal_status": "disabled",
          "created_time": "2023-10-13T11:44:39+0530",
          "created_time_formatted": "13/10/2023",
          "last_modified_time": "2023-10-13T11:44:39+0530",
          "last_modified_time_formatted": "13/10/2023",
          "custom_fields": [],
          "custom_field_hash": {},
          "ach_supported": false,
          "gst_no": "07CEUPK5322M1XX",
          "gst_treatment": "business_gst",
          "place_of_contact": "DL",
          "place_of_contact_formatted": "Delhi",
          "has_attachment": false,
          "pan_no": "ODSPS1279F"
        }
      ],
      "page_context": {
        "page": 1,
        "per_page": 200,
        "has_more_page": false,
        "report_name": "Contacts",
        "applied_filter": "Status.All",
        "custom_fields": [],
        "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 data to send to the integration platform.

Response

200 - application/json
data
object
required

The data returned from the integration platform.