Controls
Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
List compliance controls
/v1/controlsList controls with linked policies, tasks, requirements, and document types for SOC 2, ISO 27001, HIPAA, and GDPR programs.
Query parameters
pagestringperPagestringnamestringFilter by name (case-insensitive contains)
sortBystringField to sort by (default: name)
sortDescstringSort descending (true/false)
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/controls \
--header 'X-API-Key: <api-key>'Create compliance control
/v1/controlsCreate a custom compliance control and connect it to framework requirements, policies, tasks, and evidence expectations.
Request body
namestringrequiredControl name
descriptionstringrequiredControl description
policyIdsstring[]Policy IDs to connect
taskIdsstring[]Task IDs to connect
requirementMappingsobject[]Requirement mappings
Show child attributes
requirementIdstringPlatform requirement ID (exactly one of requirementId / customRequirementId must be set)
customRequirementIdstringOrg-custom requirement ID (exactly one of requirementId / customRequirementId must be set)
frameworkInstanceIdstringrequiredFramework instance ID
documentTypesenum[]Evidence form types to require on this control
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/controls \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Access Control",
"description": "Manages user access to systems",
"policyIds": [
"string"
],
"taskIds": [
"string"
],
"requirementMappings": [
{
"requirementId": "string",
"customRequirementId": "string",
"frameworkInstanceId": "string"
}
],
"documentTypes": [
"board_meeting"
]
}'Get dropdown options for creating controls
/v1/controls/optionsGet dropdown options for creating controls in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/controls/options \
--header 'X-API-Key: <api-key>'Get control detail with progress
/v1/controls/{id}Get control detail with progress in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Path parameters
idstringrequiredQuery parameters
frameworkInstanceIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/controls/<id>?frameworkInstanceId=<frameworkInstanceId> \
--header 'X-API-Key: <api-key>'Delete a control
/v1/controls/{id}Delete a control in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Path parameters
idstringrequiredResponses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/controls/<id> \
--header 'X-API-Key: <api-key>'Link policies to control
/v1/controls/{id}/policies/linkLink policies to a control so auditors and reviewers can trace control implementation back to approved policy evidence.
Path parameters
idstringrequiredQuery parameters
frameworkInstanceIdstringrequiredRequest body
policyIdsstring[]requiredPolicy IDs to link to the control
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/controls/<id>/policies/link?frameworkInstanceId=<frameworkInstanceId> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"policyIds": [
"string"
]
}'Link tasks to control
/v1/controls/{id}/tasks/linkLink compliance tasks to a control so implementation work, evidence collection, and review status stay connected.
Path parameters
idstringrequiredQuery parameters
frameworkInstanceIdstringrequiredRequest body
taskIdsstring[]requiredTask IDs to link to the control
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/controls/<id>/tasks/link?frameworkInstanceId=<frameworkInstanceId> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"taskIds": [
"string"
]
}'Link existing requirements to a control
/v1/controls/{id}/requirements/linkLink existing requirements to a control in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Path parameters
idstringrequiredRequest body
requirementsobject[]requiredRequirement + framework instance pairs to link
Show child attributes
requirementIdstringPlatform requirement ID
customRequirementIdstringOrg-custom requirement ID
frameworkInstanceIdstringrequiredFramework instance ID
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/controls/<id>/requirements/link \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"requirements": [
{
"requirementId": "string",
"customRequirementId": "string",
"frameworkInstanceId": "string"
}
]
}'Link required document types to a control
/v1/controls/{id}/document-types/linkLink required document types to a control in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Path parameters
idstringrequiredQuery parameters
frameworkInstanceIdstringrequiredRequest body
formTypesenum[]requiredEvidence form types to require for this control
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/controls/<id>/document-types/link?frameworkInstanceId=<frameworkInstanceId> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"formTypes": [
"board_meeting"
]
}'Remove a required document type from a control
/v1/controls/{id}/document-types/{formType}Remove a required document type from a control in Complianz. Manage controls, map them to policies, tasks, framework requirements, and evidence document types, and track implementation progress.
Path parameters
idstringrequiredUnique control identifier
formTypeenumrequiredEvidence form type to unlink from the control
Query parameters
frameworkInstanceIdstringrequiredResponses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/controls/<id>/document-types/<formType>?frameworkInstanceId=<frameworkInstanceId> \
--header 'X-API-Key: <api-key>'