POST
/
passthrough
curl --request POST \
  --url https://api.rootfi.dev/passthrough \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data": {
    "method": "GET",
    "headers": {},
    "path": "/Accounts",
    "data": {},
    "params": {}
  }
}'
{
  "data": {
    "Id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
    "Status": "OK",
    "ProviderName": "Example",
    "DateTimeUTC": "2021-01-01T00:00:00Z",
    "Accounts": [
      {
        "AccountID": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b",
        "Name": "Test Name",
        "Status": "ACTIVE",
        "Type": "BANK",
        "TaxType": "NONE",
        "Class": "ASSET",
        "EnablePaymentsToAccount": false,
        "ShowInExpenseClaims": false,
        "BankAccountNumber": "00000000",
        "BankAccountType": "BANK",
        "CurrencyCode": "INR",
        "ReportingCode": "ASS",
        "ReportingCodeName": "Assets",
        "HasAttachments": false,
        "UpdatedDateUTC": "/Date(1687428464087+0000)/",
        "AddToWatchlist": false
      }
    ]
  },
  "request_timestamp": "2021-01-01T00:00:00Z",
  "response_timestamp": "2021-01-01T00:00:00Z",
  "request_id": "7a1c0e42-9f85-4d6e-bb5d-358a72913c0b"
}
curl --request POST \
  --url https://api.rootfi.dev/passthrough \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '{
  "company_id": 1,
  "data": {
    "method": "GET",
    "headers": {},
    "path": "/Accounts",
    "data": {},
    "params": {}
  }
}'

Authorizations

api_key
string
header
required

Body

application/json

Response

200 - application/json

The response is of type object.