curl --request GET \
--url http://localhost:3333/v1/vendors \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"count": 12,
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}Returns all vendors for the authenticated organization. Supports both API key authentication (X-API-Key header) and session authentication (cookies + X-Organization-Id header).
curl --request GET \
--url http://localhost:3333/v1/vendors \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "vnd_abc123def456",
"name": "CloudTech Solutions Inc.",
"description": "Cloud infrastructure provider offering AWS-like services",
"category": "cloud",
"status": "not_assessed",
"inherentProbability": "possible",
"inherentImpact": "moderate",
"residualProbability": "unlikely",
"residualImpact": "minor",
"website": "https://www.cloudtechsolutions.com",
"assigneeId": "mem_abc123def456",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"count": 12,
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Vendors retrieved successfully
Show child attributes
Vendor ID
"vnd_abc123def456"
Vendor name
"CloudTech Solutions Inc."
Vendor description
"Cloud infrastructure provider offering AWS-like services"
cloud, infrastructure, software_as_a_service, finance, marketing, sales, hr, other "cloud"
not_assessed, in_progress, assessed "not_assessed"
very_unlikely, unlikely, possible, likely, very_likely "possible"
insignificant, minor, moderate, major, severe "moderate"
very_unlikely, unlikely, possible, likely, very_likely "unlikely"
insignificant, minor, moderate, major, severe "minor"
"https://www.cloudtechsolutions.com"
ID of the user assigned to manage this vendor
"mem_abc123def456"
When the vendor was created
When the vendor was last updated
Total number of vendors
12
How the request was authenticated
api-key, session Was this page helpful?