Get controls shown on a trust portal
curl --request GET \
--url https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controlsconst options = {method: 'GET'};
fetch('https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controls"
response = requests.get(url)
print(response.text)[
{
"id": "ctl_abc123",
"name": "Access Control Policy"
}
]Trust Access
Get controls shown on a trust portal | Comp AI API
Public list of the security controls visible on a published trust portal. Controls the organization toggled off — or whose template default hides them — are.
GET
/
v1
/
trust-access
/
{friendlyUrl}
/
controls
Get controls shown on a trust portal
curl --request GET \
--url https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controlsconst options = {method: 'GET'};
fetch('https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/controls"
response = requests.get(url)
print(response.text)[
{
"id": "ctl_abc123",
"name": "Access Control Policy"
}
]Was this page helpful?

