Review evidence submission
curl --request PATCH \
--url https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"action": "approved"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: 'approved'})
};
fetch('https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review"
payload = { "action": "approved" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Evidence Forms
Review evidence submission | Comp AI API
Approve or reject a submitted evidence form so task status and audit readiness reflect the latest review decision.
PATCH
/
v1
/
evidence-forms
/
{formType}
/
submissions
/
{submissionId}
/
review
Review evidence submission
curl --request PATCH \
--url https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"action": "approved"
}
'const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({action: 'approved'})
};
fetch('https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/evidence-forms/{formType}/submissions/{submissionId}/review"
payload = { "action": "approved" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Authorizations
API key for authentication
Headers
Organization ID (required for session auth, optional for API key auth)
Path Parameters
Slug of the evidence form. Call GET /v1/evidence-forms to see every form with its title.
Available options:
board-meeting, it-leadership-meeting, risk-committee-meeting, meeting, access-request, whistleblower-report, penetration-test, rbac-matrix, infrastructure-inventory, employee-performance-evaluation, network-diagram, tabletop-exercise, account-types Body
application/json
Response
200 - undefined
Was this page helpful?

