curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/settings/frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"soc2": true,
"soc2type2Status": "compliant"
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({soc2: true, soc2type2Status: 'compliant'})
};
fetch('https://api.trycomp.ai/v1/trust-portal/settings/frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/settings/frameworks"
payload = {
"soc2": True,
"soc2type2Status": "compliant"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Update trust portal framework settings | Comp AI API
Update trust portal framework settings in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents.
curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/settings/frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"soc2": true,
"soc2type2Status": "compliant"
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({soc2: true, soc2type2Status: 'compliant'})
};
fetch('https://api.trycomp.ai/v1/trust-portal/settings/frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/settings/frameworks"
payload = {
"soc2": True,
"soc2type2Status": "compliant"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Body
Framework badges to show on the public trust portal. Only the keys you send are changed.
Show the soc2 badge on the trust portal.
Show the soc2type1 badge on the trust portal.
Show the soc2type2 badge on the trust portal.
Show the soc3 badge on the trust portal.
Show the iso27001 badge on the trust portal.
Show the iso42001 badge on the trust portal.
Show the gdpr badge on the trust portal.
Show the hipaa badge on the trust portal.
Show the pcidss badge on the trust portal.
Show the nen7510 badge on the trust portal.
Show the iso9001 badge on the trust portal.
Show the pipeda badge on the trust portal.
Show the ccpa badge on the trust portal.
Readiness shown next to the soc2type1 badge.
started, in_progress, compliant Readiness shown next to the soc2type2 badge.
started, in_progress, compliant Readiness shown next to the soc3 badge.
started, in_progress, compliant Readiness shown next to the iso27001 badge.
started, in_progress, compliant Readiness shown next to the iso42001 badge.
started, in_progress, compliant Readiness shown next to the gdpr badge.
started, in_progress, compliant Readiness shown next to the hipaa badge.
started, in_progress, compliant Readiness shown next to the pcidss badge.
started, in_progress, compliant Readiness shown next to the nen7510 badge.
started, in_progress, compliant Readiness shown next to the iso9001 badge.
started, in_progress, compliant Readiness shown next to the pipeda badge.
started, in_progress, compliant Readiness shown next to the ccpa badge.
started, in_progress, compliant Response
Was this page helpful?

