Skip to main content
POST
/
v1
/
trust-portal
/
compliance-resources
/
list
List uploaded compliance certificates for the organization
curl --request POST \
  --url http://localhost:3333/v1/trust-portal/compliance-resources/list \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "organizationId": "org_6914cd0e16e4c7dccbb54426"
}
'
[
  {
    "framework": "iso_27001",
    "fileName": "<string>",
    "fileSize": 123,
    "updatedAt": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Body

application/json
organizationId
string
required

Organization ID that owns the compliance resources

Example:

"org_6914cd0e16e4c7dccbb54426"

Response

200 - application/json

Compliance certificates retrieved successfully

framework
enum<string>
required
Available options:
iso_27001,
iso_42001,
gdpr,
hipaa,
soc2_type1,
soc2_type2,
pci_dss,
nen_7510,
iso_9001
fileName
string
required
fileSize
number
required

File size in bytes

updatedAt
string
required

ISO timestamp when the certificate was last updated