Get policies shown on a trust portal
curl --request GET \
--url https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/policiesconst options = {method: 'GET'};
fetch('https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/policies', 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}/policies"
response = requests.get(url)
print(response.text)[
{
"id": "pol_abc123",
"name": "Information Security Policy",
"status": "published"
}
]Trust Access
Get policies shown on a trust portal | Comp AI API
Public list of the published policies an organization switched on for its trust portal. Hidden and unpublished policies are excluded. Resolves by friendly.
GET
/
v1
/
trust-access
/
{friendlyUrl}
/
policies
Get policies shown on a trust portal
curl --request GET \
--url https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/policiesconst options = {method: 'GET'};
fetch('https://api.trycomp.ai/v1/trust-access/{friendlyUrl}/policies', 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}/policies"
response = requests.get(url)
print(response.text)[
{
"id": "pol_abc123",
"name": "Information Security Policy",
"status": "published"
}
]Path Parameters
Trust Portal friendly URL, Organization ID, or custom domain
Was this page helpful?

