Generate a temporary signed URL for a compliance certificate
POST
/v1/trust-portal/compliance-resources/signed-url
const url = 'https://api.varman.io/v1/trust-portal/compliance-resources/signed-url';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"org_6914cd0e16e4c7dccbb54426","framework":"iso_27001","customFrameworkId":"cfrm_6914cd0e16e4c7dccbb54426"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/trust-portal/compliance-resources/signed-url \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "org_6914cd0e16e4c7dccbb54426", "framework": "iso_27001", "customFrameworkId": "cfrm_6914cd0e16e4c7dccbb54426" }'Generate a temporary signed URL for a compliance certificate in Varman. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
organizationId
required
Organization ID that owns the compliance resource
string
Example
org_6914cd0e16e4c7dccbb54426framework
Native compliance framework identifier
string
Example
iso_27001customFrameworkId
Org-authored custom framework ID (alternative to framework)
string
Example
cfrm_6914cd0e16e4c7dccbb54426Responses
Section titled “Responses”Signed URL generated successfully
Media typeapplication/json
object
signedUrl
required
string
fileName
required
string
fileSize
required
File size in bytes
number
Example generated
{ "signedUrl": "example", "fileName": "example", "fileSize": 1}