Get vendor details
GET
/v1/vendors/{id}
const url = 'https://api.varman.io/v1/vendors/vnd_abc123def456';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/vendors/vnd_abc123def456 \ --header 'X-API-Key: <X-API-Key>'Retrieve one vendor record with ownership, review status, risk context, and third-party compliance metadata.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Example
vnd_abc123def456Vendor ID
Responses
Section titled “Responses”Vendor retrieved successfully
Media typeapplication/json
object
id
Vendor ID
string
name
Vendor name
string
description
Vendor description
string
category
string
status
string
inherentProbability
string
inherentImpact
string
residualProbability
string
residualImpact
string
website
string
organizationId
string
assigneeId
ID of the user assigned to manage this vendor
string
createdAt
When the vendor was created
string format: date-time
updatedAt
When the vendor was last updated
string format: date-time
authType
How the request was authenticated
string
authenticatedUser
User information (only for session auth)
object
id
string
email
string
Example
{ "id": "vnd_abc123def456", "name": "CloudTech Solutions Inc.", "description": "Cloud infrastructure provider offering AWS-like services including compute, storage, and networking solutions for enterprise customers.", "category": "cloud", "status": "not_assessed", "inherentProbability": "very_unlikely", "inherentImpact": "insignificant", "residualProbability": "very_unlikely", "residualImpact": "insignificant", "website": "https://www.cloudtechsolutions.com", "organizationId": "org_abc123def456", "assigneeId": "mem_abc123def456", "authType": "api-key", "authenticatedUser": { "id": "usr_def456ghi789", "email": "user@example.com" }}Unauthorized - Invalid authentication or insufficient permissions
Media typeapplication/json
object
message
string
Example
{ "message": "Invalid or expired API key"}Vendor not found
Media typeapplication/json
object
message
string
Example
{ "message": "Vendor with ID vnd_abc123def456 not found in organization org_abc123def456"}Internal server error
Media typeapplication/json
object
message
string
Example
{ "message": "Internal server error"}