Create a custom link for trust portal
POST
/v1/trust-portal/custom-links
const url = 'https://api.varman.io/v1/trust-portal/custom-links';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"organizationId":"org_6914cd0e16e4c7dccbb54426","title":"example","description":"example","url":"https://example.com"}'};
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/custom-links \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "organizationId": "org_6914cd0e16e4c7dccbb54426", "title": "example", "description": "example", "url": "https://example.com" }'Create a custom link for trust portal 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 that owns the trust portal. Must match the authenticated API key’s organization.
string
Example
org_6914cd0e16e4c7dccbb54426title
required
string
description
string
url
required
string format: uri
Responses
Section titled “Responses”Custom link created successfully