Publish all draft policies
curl --request POST \
--url https://api.trycomp.ai/v1/policies/publish-all \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/publish-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/publish-all"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Policies
Publish all draft policies | Comp AI API
Publish draft policies in bulk so approved policy content can power Trust Center sharing, questionnaire answers, and audit evidence.
POST
/
v1
/
policies
/
publish-all
Publish all draft policies
curl --request POST \
--url https://api.trycomp.ai/v1/policies/publish-all \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/publish-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/publish-all"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

