List records (Proxy API)
GET
/proxy/{resource}
Query Parameters
next_cursorstring
The next_cursor from the previous page.
Response Body
next_cursorstring
Pass this back as next_cursor to fetch the next page. Absent or null on the last page.
prev_cursorstring
Pass this back as prev_cursor to fetch the previous page, when the integration supports it.
resultobject[] | Record<string, any>
The records the integration returned, as the integration returned them.
result_countnumber
The total number of records, when the integration reports one.
curl -X GET 'https://api.truto.one/proxy/{resource}' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/proxy/{resource}', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/proxy/{resource}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())