curl --request POST \
--url http://localhost:3333/v1/trust-portal/documents/list \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426"
}
'[
{
"id": "tdoc_abc123",
"name": "security-overview.pdf",
"createdAt": "2026-01-02T10:15:00.000Z",
"updatedAt": "2026-01-02T10:15:00.000Z",
"description": "Overview of our security program"
}
]curl --request POST \
--url http://localhost:3333/v1/trust-portal/documents/list \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_6914cd0e16e4c7dccbb54426"
}
'[
{
"id": "tdoc_abc123",
"name": "security-overview.pdf",
"createdAt": "2026-01-02T10:15:00.000Z",
"updatedAt": "2026-01-02T10:15:00.000Z",
"description": "Overview of our security program"
}
]API key for authentication
Organization ID (required for session auth, optional for API key auth)
Organization ID that owns the compliance resources
"org_6914cd0e16e4c7dccbb54426"
Documents retrieved successfully
Was this page helpful?