Risks
Create, update, and report on organizational risks with ownership, departments, and compliance remediation status.
List organization risks
/v1/risksList organization risks with owners, departments, severity, mitigation status, and evidence for risk management reporting.
Query parameters
titlestringSearch by title (case-insensitive contains)
pagenumberPage number (1-indexed)
perPagenumberNumber of items per page
sortenumSort by field
sortDirectionenumSort direction
statusenumFilter by status
categoryenumFilter by category
departmentstringFilter by department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.
assigneeIdstringFilter by assignee member ID
Responses
200Risks retrieved successfully
dataobject[]Show child attributes
idstringRisk ID
titlestringRisk title
descriptionstringRisk description
categoryenumOne of: customer governance operations other people regulatory reporting resilience technology vendor_management
statusenumOne of: open pending closed archived
likelihoodenumOne of: very_unlikely unlikely possible likely very_likely
impactenumOne of: insignificant minor moderate major severe
treatmentStrategyenumOne of: accept avoid mitigate transfer
assigneeIdstringID of the user assigned to this risk
createdAtstringWhen the risk was created
updatedAtstringWhen the risk was last updated
countnumberTotal number of risks
authTypeenumHow the request was authenticated
One of: api-key session
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"data": [
{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"status": "open",
"likelihood": "possible",
"impact": "major",
"treatmentStrategy": "mitigate",
"assigneeId": "mem_abc123def456",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"count": 15,
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}404Organization not found
messagestring{
"message": "Organization with ID org_abc123def456 not found"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request GET \
--url https://api.complianz.ai/v1/risks \
--header 'X-API-Key: <api-key>'Create organization risk
/v1/risksCreate a risk record with ownership and context so compliance teams can track mitigation and remediation work.
Request body
titlestringrequiredRisk title
descriptionstringrequiredDetailed description of the risk
categoryenumrequiredRisk category
One of: customer fraud governance operations other people regulatory reporting resilience technology vendor_management
departmentstringDepartment responsible for the risk. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.
statusenumrequiredCurrent status of the risk
One of: open pending closed archived
likelihoodenumrequiredLikelihood of the risk occurring
One of: very_unlikely unlikely possible likely very_likely
impactenumrequiredImpact if the risk materializes
One of: insignificant minor moderate major severe
residualLikelihoodenumrequiredResidual likelihood after treatment
One of: very_unlikely unlikely possible likely very_likely
residualImpactenumrequiredResidual impact after treatment
One of: insignificant minor moderate major severe
treatmentStrategyDescriptionstringDescription of the treatment strategy
treatmentStrategyenumrequiredRisk treatment strategy
One of: accept avoid mitigate transfer
assigneeIdstringID of the user assigned to this risk
Responses
201Risk created successfully
idstringRisk ID
titlestringRisk title
descriptionstringRisk description
categoryenumOne of: customer governance operations other people regulatory reporting resilience technology vendor_management
departmentenumOne of: none admin gov hr it itsm qms
statusenumOne of: open pending closed archived
likelihoodenumOne of: very_unlikely unlikely possible likely very_likely
impactenumOne of: insignificant minor moderate major severe
residualLikelihoodenumOne of: very_unlikely unlikely possible likely very_likely
residualImpactenumOne of: insignificant minor moderate major severe
treatmentStrategyDescriptionstringtreatmentStrategyenumOne of: accept avoid mitigate transfer
organizationIdstringassigneeIdstringID of the user assigned to this risk
createdAtstringWhen the risk was created
updatedAtstringWhen the risk was last updated
authTypeenumHow the request was authenticated
One of: api-key session
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}400Bad request - Invalid input data
messagestring[]errorstringstatusCodenumber{
"message": [
"title should not be empty",
"description should not be empty",
"category must be a valid enum value"
],
"error": "Bad Request",
"statusCode": 400
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}404Organization not found
messagestring{
"message": "Organization with ID org_abc123def456 not found"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request POST \
--url https://api.complianz.ai/v1/risks \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"assigneeId": "mem_abc123def456"
}'Get risk statistics grouped by assignee
/v1/risks/stats/by-assigneeGet risk statistics grouped by assignee in Complianz. Create, update, and report on organizational risks with ownership, departments, and compliance remediation status.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/risks/stats/by-assignee \
--header 'X-API-Key: <api-key>'Get risk counts grouped by department
/v1/risks/stats/by-departmentGet risk counts grouped by department in Complianz. Create, update, and report on organizational risks with ownership, departments, and compliance remediation status.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/risks/stats/by-department \
--header 'X-API-Key: <api-key>'Get organization risk
/v1/risks/{id}Retrieve one organization risk with owner, department, likelihood, impact, mitigation, and remediation context.
Path parameters
idstringrequiredRisk ID
Responses
200Risk retrieved successfully
idstringRisk ID
titlestringRisk title
descriptionstringRisk description
categoryenumOne of: customer governance operations other people regulatory reporting resilience technology vendor_management
departmentenumOne of: none admin gov hr it itsm qms
statusenumOne of: open pending closed archived
likelihoodenumOne of: very_unlikely unlikely possible likely very_likely
impactenumOne of: insignificant minor moderate major severe
residualLikelihoodenumOne of: very_unlikely unlikely possible likely very_likely
residualImpactenumOne of: insignificant minor moderate major severe
treatmentStrategyDescriptionstringtreatmentStrategyenumOne of: accept avoid mitigate transfer
organizationIdstringassigneeIdstringID of the user assigned to this risk
createdAtstringWhen the risk was created
updatedAtstringWhen the risk was last updated
authTypeenumHow the request was authenticated
One of: api-key session
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}403Forbidden - User does not have permission to access this risk
messagestring{
"message": "You do not have access to view this risk"
}404Risk not found
messagestring{
"message": "Risk with ID rsk_abc123def456 not found in organization org_abc123def456"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request GET \
--url https://api.complianz.ai/v1/risks/<id> \
--header 'X-API-Key: <api-key>'Update organization risk
/v1/risks/{id}Update a risk record as mitigation work progresses so compliance reports reflect the current risk posture.
Path parameters
idstringrequiredRisk ID
Request body
titlestringRisk title
descriptionstringDetailed description of the risk
categoryenumRisk category
One of: customer fraud governance operations other people regulatory reporting resilience technology vendor_management
departmentstringDepartment responsible for the risk. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.
statusenumCurrent status of the risk
One of: open pending closed archived
likelihoodenumLikelihood of the risk occurring
One of: very_unlikely unlikely possible likely very_likely
impactenumImpact if the risk materializes
One of: insignificant minor moderate major severe
residualLikelihoodenumResidual likelihood after treatment
One of: very_unlikely unlikely possible likely very_likely
residualImpactenumResidual impact after treatment
One of: insignificant minor moderate major severe
treatmentStrategyDescriptionstringDescription of the treatment strategy
treatmentStrategyenumRisk treatment strategy
One of: accept avoid mitigate transfer
assigneeIdstringID of the user assigned to this risk
Responses
200Risk updated successfully
idstringRisk ID
titlestringRisk title
descriptionstringRisk description
categoryenumOne of: customer governance operations other people regulatory reporting resilience technology vendor_management
departmentenumOne of: none admin gov hr it itsm qms
statusenumOne of: open pending closed archived
likelihoodenumOne of: very_unlikely unlikely possible likely very_likely
impactenumOne of: insignificant minor moderate major severe
residualLikelihoodenumOne of: very_unlikely unlikely possible likely very_likely
residualImpactenumOne of: insignificant minor moderate major severe
treatmentStrategyDescriptionstringtreatmentStrategyenumOne of: accept avoid mitigate transfer
organizationIdstringassigneeIdstringID of the user assigned to this risk
createdAtstringWhen the risk was created
updatedAtstringWhen the risk was last updated
authTypeenumHow the request was authenticated
One of: api-key session
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"organizationId": "org_abc123def456",
"assigneeId": "mem_abc123def456",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}400Bad request - Invalid input data
messagestring[]errorstringstatusCodenumber{
"message": [
"title should not be empty",
"category must be a valid enum value",
"status must be a valid enum value"
],
"error": "Bad Request",
"statusCode": 400
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}404Risk not found
messagestring{
"message": "Risk with ID rsk_abc123def456 not found in organization org_abc123def456"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request PATCH \
--url https://api.complianz.ai/v1/risks/<id> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"title": "Data breach vulnerability in user authentication system",
"description": "Weak password requirements could lead to unauthorized access to user accounts",
"category": "technology",
"department": "it",
"status": "open",
"likelihood": "possible",
"impact": "major",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"treatmentStrategyDescription": "Implement multi-factor authentication and strengthen password requirements",
"treatmentStrategy": "mitigate",
"assigneeId": "mem_abc123def456"
}'Delete organization risk
/v1/risks/{id}Delete an organization risk that no longer needs active tracking in the risk register or compliance program.
Path parameters
idstringrequiredRisk ID
Responses
200Risk deleted successfully
messagestringdeletedRiskobjectShow child attributes
idstringDeleted risk ID
titlestringDeleted risk title
authTypeenumHow the request was authenticated
One of: api-key session
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"message": "Risk deleted successfully",
"deletedRisk": {
"id": "rsk_abc123def456",
"title": "Data breach vulnerability in user authentication system"
},
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}404Risk not found
messagestring{
"message": "Risk with ID rsk_abc123def456 not found in organization org_abc123def456"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request DELETE \
--url https://api.complianz.ai/v1/risks/<id> \
--header 'X-API-Key: <api-key>'List risk-owner acceptance events
/v1/risks/{id}/acceptancesReturns the residual-risk acceptance history for a risk, newest first. Each event freezes the residual rating at acceptance and carries a stale flag set when the risk's residual rating has changed since (ISO 27001 6.1.3(f)).
Path parameters
idstringrequiredRisk ID
Responses
200Acceptance history retrieved successfully (newest first)
dataobject[]Show child attributes
idstringAcceptance event ID
acceptedByIdstringMember ID of the acceptor (null if since removed)
acceptedByNamestringAcceptor display name, frozen at acceptance
notesstringresidualLikelihoodenumResidual likelihood frozen at acceptance
One of: very_unlikely unlikely possible likely very_likely
residualImpactenumResidual impact frozen at acceptance
One of: insignificant minor moderate major severe
levelenumRisk level of the accepted residual rating
One of: very-low low medium high very-high
levelLabelstringHuman-readable level label
stalebooleanTrue when the residual rating changed after this acceptance was recorded — re-acceptance is required
createdAtstringWhen the acceptance was recorded (server-set, immutable)
authTypeenumHow the request was authenticated
One of: api-key session service
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"data": [
{
"id": "rska_abc123def456",
"acceptedById": "mem_abc123def456",
"acceptedByName": "Jane Doe",
"notes": "Residual risk reviewed at the Q2 risk review.",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"level": "low",
"levelLabel": "Low",
"stale": false,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}401Unauthorized - Invalid authentication
messagestring{
"message": "Invalid or expired API key"
}403Forbidden - User does not have permission to access this risk
messagestring{
"message": "You do not have access to this risk"
}404Risk not found
messagestring{
"message": "Risk with ID abc123 not found in organization org_abc123def456"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request GET \
--url https://api.complianz.ai/v1/risks/<id>/acceptances \
--header 'X-API-Key: <api-key>'Record risk-owner acceptance
/v1/risks/{id}/acceptancesRecords an immutable, timestamped acceptance of a risk's current residual risk by the risk owner (or a chosen member). Re-record after the residual rating changes; prior events remain in the history.
Path parameters
idstringrequiredRisk ID
Request body
acceptedByIdstringMember ID of the acceptor. Defaults to the risk owner (assignee) when omitted.
notesstringOptional notes recorded with the acceptance.
Responses
201Acceptance recorded successfully
idstringAcceptance event ID
acceptedByIdstringMember ID of the acceptor (null if since removed)
acceptedByNamestringAcceptor display name, frozen at acceptance
notesstringresidualLikelihoodenumResidual likelihood frozen at acceptance
One of: very_unlikely unlikely possible likely very_likely
residualImpactenumResidual impact frozen at acceptance
One of: insignificant minor moderate major severe
levelenumRisk level of the accepted residual rating
One of: very-low low medium high very-high
levelLabelstringHuman-readable level label
stalebooleanTrue when the residual rating changed after this acceptance was recorded — re-acceptance is required
createdAtstringWhen the acceptance was recorded (server-set, immutable)
authTypeenumHow the request was authenticated
One of: api-key session service
authenticatedUserobjectUser information (only for session auth)
Show child attributes
idstringemailstring{
"id": "rska_abc123def456",
"acceptedById": "mem_abc123def456",
"acceptedByName": "Jane Doe",
"notes": "Residual risk reviewed at the Q2 risk review.",
"residualLikelihood": "unlikely",
"residualImpact": "minor",
"level": "low",
"levelLabel": "Low",
"stale": false,
"createdAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key",
"authenticatedUser": {
"id": "usr_def456ghi789",
"email": "user@example.com"
}
}400No owner assigned, or the acceptor is not a valid member
messagestring{
"message": "No owner is assigned. Assign an owner or choose an acceptor."
}401Unauthorized - Invalid authentication
messagestring{
"message": "Invalid or expired API key"
}403Forbidden - User does not have permission to access this risk
messagestring{
"message": "You do not have access to this risk"
}404Risk not found
messagestring{
"message": "Risk with ID abc123 not found in organization org_abc123def456"
}500Internal server error
messagestring{
"message": "Internal server error"
}curl --request POST \
--url https://api.complianz.ai/v1/risks/<id>/acceptances \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"acceptedById": "mem_abc123def456",
"notes": "Residual risk reviewed at the Q2 risk review."
}'