Frameworks

Manage SOC 2, ISO 27001, HIPAA, GDPR, and custom framework instances, requirements, scores, and sync history.

List compliance frameworks

GET/v1/frameworks

List active SOC 2, ISO 27001, HIPAA, GDPR, and custom compliance frameworks with implementation status and progress data.

Query parameters

includeControlsboolean
includeScoresboolean

Responses

200
curl --request GET \
  --url https://api.complianz.ai/v1/frameworks \
  --header 'X-API-Key: <api-key>'

Add compliance frameworks

POST/v1/frameworks

Add one or more compliance frameworks to an organization so tasks, controls, evidence, and readiness tracking can be generated.

Request body

frameworkIdsstring[]required

Array 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

GET/v1/frameworks/available

List 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

GET/v1/frameworks/scores

Retrieve 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

GET/v1/frameworks/update-statuses

Get 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

GET/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

idstringrequired

Responses

200
curl --request GET \
  --url https://api.complianz.ai/v1/frameworks/<id> \
  --header 'X-API-Key: <api-key>'

Delete a framework instance

DELETE/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

idstringrequired

Responses

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

GET/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

idstringrequired
requirementKeystringrequired

Responses

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

POST/v1/frameworks/custom

Create 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

namestringrequired

Framework name

descriptionstringrequired

Framework description

versionstring

Version

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

PATCH/v1/frameworks/{id}/custom

Update the name and/or description of an organization's custom framework. Only custom frameworks are editable; platform frameworks return 400.

Path parameters

idstringrequired

Request body

namestring

Framework name

descriptionstring

Framework 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

POST/v1/frameworks/{id}/requirements

Add 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

idstringrequired

Request body

namestringrequired

Requirement name

identifierstringrequired

Identifier

descriptionstringrequired

Description

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

POST/v1/frameworks/{id}/requirements/link

Link (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

idstringrequired

Request body

requirementIdsstring[]required

IDs 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

POST/v1/frameworks/{id}/requirements/{requirementKey}/controls/link

Link 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

idstringrequired
requirementKeystringrequired

Request body

controlIdsstring[]required

Existing 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

GET/v1/frameworks/{id}/update-status

Get 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

idstringrequired

Responses

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

GET/v1/frameworks/{id}/update-preview

Preview 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

idstringrequired

Responses

200
curl --request GET \
  --url https://api.complianz.ai/v1/frameworks/<id>/update-preview \
  --header 'X-API-Key: <api-key>'

Sync framework requirements

POST/v1/frameworks/{id}/sync

Sync framework requirements, controls, and tasks after framework content changes so compliance tracking remains current.

Path parameters

idstringrequired

Request 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

POST/v1/frameworks/{id}/rollback

Roll 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

idstringrequired

Request 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

GET/v1/frameworks/{id}/sync-history

Get 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

idstringrequired

Responses

200
curl --request GET \
  --url https://api.complianz.ai/v1/frameworks/<id>/sync-history \
  --header 'X-API-Key: <api-key>'