Frameworks
Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
List compliance frameworks
/v1/frameworksList active SOC 2, ISO 27001, HIPAA, GDPR, and custom compliance frameworks with implementation status and progress data.
Query parameters
includeControlsbooleanincludeScoresbooleanResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks \
--header 'X-API-Key: <api-key>'Add compliance frameworks
/v1/frameworksAdd one or more compliance frameworks to an organization so tasks, controls, evidence, and readiness tracking can be generated.
Request body
frameworkIdsstring[]requiredArray of framework editor framework IDs to add
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"frameworkIds": [
"string"
]
}'List available frameworks
/v1/frameworks/availableList frameworks available for activation before starting a new compliance program or expanding into another standard.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/available \
--header 'X-API-Key: <api-key>'Get framework readiness scores
/v1/frameworks/scoresRetrieve framework readiness scores so teams can report progress toward audit readiness across active compliance standards.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/scores \
--header 'X-API-Key: <api-key>'Get update statuses for all framework instances
/v1/frameworks/update-statusesGet update statuses for all framework instances in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/update-statuses \
--header 'X-API-Key: <api-key>'Get a single framework instance with full detail
/v1/frameworks/{id}Get a single framework instance with full detail in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/<id> \
--header 'X-API-Key: <api-key>'Delete a framework instance
/v1/frameworks/{id}Delete a framework instance in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredResponses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/frameworks/<id> \
--header 'X-API-Key: <api-key>'Get a specific requirement with related controls
/v1/frameworks/{id}/requirements/{requirementKey}Get a specific requirement with related controls in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredrequirementKeystringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/<id>/requirements/<requirementKey> \
--header 'X-API-Key: <api-key>'Create a custom framework for this organization
/v1/frameworks/customCreate a custom framework for this organization in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Request body
namestringrequiredFramework name
descriptionstringrequiredFramework description
versionstringVersion
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/custom \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Internal Controls",
"description": "string",
"version": "1.0"
}'Update a custom framework
/v1/frameworks/{id}/customUpdate the name and/or description of an organization's custom framework. Only custom frameworks are editable; platform frameworks return 400.
Path parameters
idstringrequiredRequest body
namestringFramework name
descriptionstringFramework description
Responses
200
curl --request PATCH \
--url https://api.complianz.ai/v1/frameworks/<id>/custom \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Internal Controls",
"description": "string"
}'Add a custom requirement to a framework instance
/v1/frameworks/{id}/requirementsAdd a custom requirement to a framework instance in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredRequest body
namestringrequiredRequirement name
identifierstringrequiredIdentifier
descriptionstringrequiredDescription
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/<id>/requirements \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Access Review",
"identifier": "10.3",
"description": "string"
}'Link (clone) existing requirements from another framework into this one
/v1/frameworks/{id}/requirements/linkLink (clone) existing requirements from another framework into this one in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredRequest body
requirementIdsstring[]requiredIDs of existing FrameworkEditorRequirement rows to clone into this framework
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/<id>/requirements/link \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"requirementIds": [
"string"
]
}'Link existing org controls to a requirement
/v1/frameworks/{id}/requirements/{requirementKey}/controls/linkLink existing org controls to a requirement in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredrequirementKeystringrequiredRequest body
controlIdsstring[]requiredExisting org Control IDs to map to the requirement on this framework instance
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/<id>/requirements/<requirementKey>/controls/link \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"controlIds": [
"string"
]
}'Get the update status for a framework instance
/v1/frameworks/{id}/update-statusGet the update status for a framework instance in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/<id>/update-status \
--header 'X-API-Key: <api-key>'Preview changes from updating a framework instance
/v1/frameworks/{id}/update-previewPreview changes from updating a framework instance in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/<id>/update-preview \
--header 'X-API-Key: <api-key>'Sync framework requirements
/v1/frameworks/{id}/syncSync framework requirements, controls, and tasks after framework content changes so compliance tracking remains current.
Path parameters
idstringrequiredRequest body
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/<id>/sync \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'Roll back a framework sync operation
/v1/frameworks/{id}/rollbackRoll back a framework sync operation in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredRequest body
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/frameworks/<id>/rollback \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'Get sync history for a framework instance
/v1/frameworks/{id}/sync-historyGet sync history for a framework instance in Complianz. Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/frameworks/<id>/sync-history \
--header 'X-API-Key: <api-key>'