Submit SOA document for approval
curl --request POST \
--url https://api.trycomp.ai/v1/soa/submit-for-approval \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_abc123def456",
"documentId": "soa_doc_abc123def456",
"approverId": "mem_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organizationId: 'org_abc123def456',
documentId: 'soa_doc_abc123def456',
approverId: 'mem_abc123def456'
})
};
fetch('https://api.trycomp.ai/v1/soa/submit-for-approval', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/soa/submit-for-approval"
payload = {
"organizationId": "org_abc123def456",
"documentId": "soa_doc_abc123def456",
"approverId": "mem_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
Submit SOA document for approval | Comp AI API
Submit SOA document for approval in Comp AI. Create, auto-fill, review, approve, and export ISO 27001 Statement of Applicability documents.
POST
/
v1
/
soa
/
submit-for-approval
Submit SOA document for approval
curl --request POST \
--url https://api.trycomp.ai/v1/soa/submit-for-approval \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"organizationId": "org_abc123def456",
"documentId": "soa_doc_abc123def456",
"approverId": "mem_abc123def456"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organizationId: 'org_abc123def456',
documentId: 'soa_doc_abc123def456',
approverId: 'mem_abc123def456'
})
};
fetch('https://api.trycomp.ai/v1/soa/submit-for-approval', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/soa/submit-for-approval"
payload = {
"organizationId": "org_abc123def456",
"documentId": "soa_doc_abc123def456",
"approverId": "mem_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
ID of the organization that owns the SOA document
Example:
"org_abc123def456"
ID of the SOA document to submit for approval
Example:
"soa_doc_abc123def456"
Member ID of the approver the SOA document is submitted to
Example:
"mem_abc123def456"
Response
200
Document submitted for approval successfully
Was this page helpful?

