Read SOA configuration and document without creating either
curl --request POST \
--url https://api.trycomp.ai/v1/soa/get-setup \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_abc123def456",
"frameworkId": "frk_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: 'org_abc123def456', frameworkId: 'frk_abc123def456'})
};
fetch('https://api.trycomp.ai/v1/soa/get-setup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/soa/get-setup"
payload = {
"organizationId": "org_abc123def456",
"frameworkId": "frk_abc123def456"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Statement of Applicability
Read SOA configuration and document without | Comp AI API
Read SOA configuration and document without creating either in Comp AI. Create, auto-fill, review, approve, and export ISO 27001 Statement of Applicability.
POST
/
v1
/
soa
/
get-setup
Read SOA configuration and document without creating either
curl --request POST \
--url https://api.trycomp.ai/v1/soa/get-setup \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_abc123def456",
"frameworkId": "frk_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: 'org_abc123def456', frameworkId: 'frk_abc123def456'})
};
fetch('https://api.trycomp.ai/v1/soa/get-setup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/soa/get-setup"
payload = {
"organizationId": "org_abc123def456",
"frameworkId": "frk_abc123def456"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Body
application/json
Response
200
Setup returned (configuration/document may be null)
Was this page helpful?

