Add compliance frameworks
curl --request POST \
--url https://api.trycomp.ai/v1/frameworks \
--header 'Content-Type: application/json' \
--data '
{
"frameworkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'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 = {"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' \
--data '
{
"frameworkIds": [
"<string>"
]
}
'const options = {
method: 'POST',
headers: {'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 = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Array of framework editor framework IDs to add
Minimum array length:
1Response
201
Was this page helpful?

