General
Server Side SDKs
Core API
- Companies
- Invite Links
- Integrations
- Sync
- Jobs
- Passthrough
Unified API
- Accounting
Passthrough
Create Passthrough Data
Add passthrough data to integration platforms.
POST
/
passthrough
Copy
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": {}
}
}'
Copy
{
"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"
}
Copy
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
Body
application/json
Response
200 - application/json
The response is of type object
.
Copy
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": {}
}
}'
Copy
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.