Add compliance frameworks
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"frameworkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({frameworkIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/frameworks"
payload = { "frameworkIds": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Frameworks
Add compliance frameworks | Comp AI API
Add one or more compliance frameworks to an organization so tasks, controls, evidence, and readiness tracking can be generated.
POST
/
v1
/
frameworks
Add compliance frameworks
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"frameworkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({frameworkIds: ['<string>']})
};
fetch('https://api.trycomp.ai/v1/frameworks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/frameworks"
payload = { "frameworkIds": ["<string>"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

