Upload a PDF to a policy or version
curl --request POST \
--url https://api.trycomp.ai/v1/policies/{id}/pdf \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/{id}/pdf"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Policies
Upload a PDF to a policy or version | Comp AI API
Upload a PDF to a policy or version in Comp AI. Create, version, publish, export, map, and improve compliance policies with AI-assisted drafting.
POST
/
v1
/
policies
/
{id}
/
pdf
Upload a PDF to a policy or version
curl --request POST \
--url https://api.trycomp.ai/v1/policies/{id}/pdf \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/policies/{id}/pdf', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/policies/{id}/pdf"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

