Skip to content

Generate a temporary signed URL for a trust portal document

POST
/v1/trust-portal/documents/{documentId}/download
curl --request POST \
--url https://api.varman.io/v1/trust-portal/documents/example/download \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "organizationId": "org_6914cd0e16e4c7dccbb54426" }'

Generate a temporary signed URL for a trust portal document in Varman. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.

documentId
required
string
Media typeapplication/json
object
organizationId
required

Organization ID that owns the document

string

Example

org_6914cd0e16e4c7dccbb54426

Signed URL generated successfully

Media typeapplication/json
object
signedUrl
required
string
fileName
required
string

Example generated

{
"signedUrl": "example",
"fileName": "example"
}