List documents
curl --request GET \
--url https://app.vensight.ai/api/v1/documents \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.vensight.ai/api/v1/documents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.vensight.ai/api/v1/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.vensight.ai/api/v1/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.vensight.ai/api/v1/documents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.vensight.ai/api/v1/documents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.vensight.ai/api/v1/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"resource": "documents",
"data": [
{
"id": "9c2a7d10-4e8b-4f3a-b6d2-1a7e5c9f0b84",
"vendor_id": "6f1c2a4e-8b1d-4c3a-9e57-2d4b8a1f0c93",
"requirement_id": "a41d7c3e-5f20-4b8a-9c16-2e8f0b7d4a59",
"question_id": null,
"internal_label": null,
"cadence": "annual",
"due_date": "2026-10-31",
"status": "in_review",
"verification_state": "received",
"archive_state": null,
"visible_to_vendor": true,
"file_name": "Oakmere SOC 2 Type II 2026.pdf",
"file_size_bytes": 1843200,
"content_type": "application/pdf",
"storage_path": "documents/6f1c2a4e-8b1d-4c3a-9e57-2d4b8a1f0c93/soc2-type-ii-2026.pdf",
"version_label": "2026",
"expires_on": "2027-06-30",
"uploaded_at": "2026-09-09T02:14:07.221Z",
"uploaded_by": "Dana Whitfield",
"reviewed_at": "2026-09-09T02:14:07.221Z",
"reviewed_by": "Amanda Meyers",
"rejection_note": null,
"waived_at": null,
"waived_by": null,
"waive_reason": null,
"waive_scope": "this_cycle",
"requested_at": "2026-09-09T02:14:07.221Z",
"requested_by": "Amanda Meyers",
"assigned_user_id": "3b8e1f52-0c6a-4d71-a2f9-7e4c5d9b1a08",
"cycle_id": "d2f8a6c4-7e19-4b53-a0d8-5c1b9e3f7a26",
"business_unit": "Capital Markets",
"created_at": "2026-09-09T02:14:07.221Z",
"updated_at": "2026-09-09T02:14:07.221Z"
}
],
"has_more": true,
"next_cursor": "MjAyNi0wOS0wOVQwMjoxNDowNy4yMjFafDZmMWM…"
}{
"error": {
"code": "invalid_query",
"message": "vendor is not a filter on invoices. Accepted: limit, cursor, updated_since, vendor_id, status, business_unit."
}
}{
"error": {
"code": "invalid_credential",
"message": "That API key is not valid."
}
}{
"error": {
"code": "read_failed",
"message": "That could not be read just now."
}
}{
"error": {
"code": "not_yet_provisioned",
"message": "The API is still being switched on for this workspace. Try again shortly."
}
}Documents
List documents
Every document asked of a vendor (a document request), and where that request has got to. Returned oldest change first, 50 to a page unless you set limit.
GET
/
documents
List documents
curl --request GET \
--url https://app.vensight.ai/api/v1/documents \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.vensight.ai/api/v1/documents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.vensight.ai/api/v1/documents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.vensight.ai/api/v1/documents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.vensight.ai/api/v1/documents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.vensight.ai/api/v1/documents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.vensight.ai/api/v1/documents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"resource": "documents",
"data": [
{
"id": "9c2a7d10-4e8b-4f3a-b6d2-1a7e5c9f0b84",
"vendor_id": "6f1c2a4e-8b1d-4c3a-9e57-2d4b8a1f0c93",
"requirement_id": "a41d7c3e-5f20-4b8a-9c16-2e8f0b7d4a59",
"question_id": null,
"internal_label": null,
"cadence": "annual",
"due_date": "2026-10-31",
"status": "in_review",
"verification_state": "received",
"archive_state": null,
"visible_to_vendor": true,
"file_name": "Oakmere SOC 2 Type II 2026.pdf",
"file_size_bytes": 1843200,
"content_type": "application/pdf",
"storage_path": "documents/6f1c2a4e-8b1d-4c3a-9e57-2d4b8a1f0c93/soc2-type-ii-2026.pdf",
"version_label": "2026",
"expires_on": "2027-06-30",
"uploaded_at": "2026-09-09T02:14:07.221Z",
"uploaded_by": "Dana Whitfield",
"reviewed_at": "2026-09-09T02:14:07.221Z",
"reviewed_by": "Amanda Meyers",
"rejection_note": null,
"waived_at": null,
"waived_by": null,
"waive_reason": null,
"waive_scope": "this_cycle",
"requested_at": "2026-09-09T02:14:07.221Z",
"requested_by": "Amanda Meyers",
"assigned_user_id": "3b8e1f52-0c6a-4d71-a2f9-7e4c5d9b1a08",
"cycle_id": "d2f8a6c4-7e19-4b53-a0d8-5c1b9e3f7a26",
"business_unit": "Capital Markets",
"created_at": "2026-09-09T02:14:07.221Z",
"updated_at": "2026-09-09T02:14:07.221Z"
}
],
"has_more": true,
"next_cursor": "MjAyNi0wOS0wOVQwMjoxNDowNy4yMjFafDZmMWM…"
}{
"error": {
"code": "invalid_query",
"message": "vendor is not a filter on invoices. Accepted: limit, cursor, updated_since, vendor_id, status, business_unit."
}
}{
"error": {
"code": "invalid_credential",
"message": "That API key is not valid."
}
}{
"error": {
"code": "read_failed",
"message": "That could not be read just now."
}
}{
"error": {
"code": "not_yet_provisioned",
"message": "The API is still being switched on for this workspace. Try again shortly."
}
}Authorizations
Query Parameters
Response
A page of records, oldest change first.