Integrations
Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
List integration providers
/v1/integrations/connections/providersList available integration providers that can connect to the organization for automated evidence collection and compliance checks.
Query parameters
activeOnlystringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/connections/providers?activeOnly=<activeOnly> \
--header 'X-API-Key: <api-key>'Get an integration provider by slug
/v1/integrations/connections/providers/{slug}Get an integration provider by slug in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
slugstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/connections/providers/<slug> \
--header 'X-API-Key: <api-key>'List integration connections
/v1/integrations/connectionsList integration connections in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/connections \
--header 'X-API-Key: <api-key>'Create integration connection
/v1/integrations/connectionsCreate an integration connection so Complianz can collect evidence, run checks, or sync data from a connected provider.
Request body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
providerSlugstringrequiredProvider slug for the integration. Call list-providers first to see the available slugs (e.g. 'aws', 'gcp', 'azure', 'github').
credentialsobjectProvider-specific credential fields. Keys differ by provider — call get-provider-details for the exact shape. For AWS (Cloud Tests) the fields are: connectionName (display name), awsType ('aws-commercial' or 'aws-govcloud'), roleArn (auditor role), externalId (typically your org id), regions (string array), and optionally remediationRoleArn and awsScanMode ('comp_scanners' or 'security_hub'). Omit credentials for OAuth providers — use POST /v1/integrations/oauth/start instead.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/connections \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"providerSlug": "aws",
"credentials": {
"connectionName": "Production AWS",
"awsType": "aws-commercial",
"roleArn": "arn:aws:iam::123456789012:role/Complianz-Auditor",
"externalId": "org_abc123",
"regions": [
"us-east-1",
"us-west-2"
],
"remediationRoleArn": "arn:aws:iam::123456789012:role/Complianz-Remediator",
"awsScanMode": "comp_scanners"
}
}'Get an integration connection by ID
/v1/integrations/connections/{id}Get an integration connection by ID in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/connections/<id> \
--header 'X-API-Key: <api-key>'Update an integration connection
/v1/integrations/connections/{id}Update an integration connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
metadataobjectConnection metadata to merge into the existing record. Common AWS keys: connectionName, regions (string array), awsScanMode ('comp_scanners' or 'security_hub'). The server shallow-merges this with the existing metadata, so include only the keys you want to change.
Responses
200
curl --request PATCH \
--url https://api.complianz.ai/v1/integrations/connections/<id> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"metadata": {
"connectionName": "Production AWS (renamed)",
"regions": [
"us-east-1",
"us-west-2"
]
}
}'Delete an integration connection
/v1/integrations/connections/{id}Delete an integration connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/integrations/connections/<id> \
--header 'X-API-Key: <api-key>'Test an integration connection
/v1/integrations/connections/{id}/testTest an integration connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/connections/<id>/test \
--header 'X-API-Key: <api-key>'Pause an integration connection
/v1/integrations/connections/{id}/pausePause an integration connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/connections/<id>/pause \
--header 'X-API-Key: <api-key>'Resume an integration connection
/v1/integrations/connections/{id}/resumeResume an integration connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/connections/<id>/resume \
--header 'X-API-Key: <api-key>'Disconnect an integration
/v1/integrations/connections/{id}/disconnectDisconnect an integration in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/connections/<id>/disconnect \
--header 'X-API-Key: <api-key>'List services enabled on a connection
/v1/integrations/connections/{id}/servicesList services enabled on a connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/connections/<id>/services \
--header 'X-API-Key: <api-key>'Set services enabled on a connection
/v1/integrations/connections/{id}/servicesSet services enabled on a connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
idstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
servicesstring[]requiredService IDs to enable on this connection. Any service IDs from the provider's manifest that are NOT in this list become disabled. Pass an empty array to disable all services.
Responses
200
curl --request PUT \
--url https://api.complianz.ai/v1/integrations/connections/<id>/services \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"services": [
"s3",
"iam",
"cloudtrail"
]
}'List check definitions for a provider
/v1/integrations/checks/providers/{providerSlug}List check definitions for a provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
providerSlugstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/checks/providers/<providerSlug> \
--header 'X-API-Key: <api-key>'List checks for a connection
/v1/integrations/checks/connections/{connectionId}List checks for a connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
connectionIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/checks/connections/<connectionId> \
--header 'X-API-Key: <api-key>'Run integration checks
/v1/integrations/checks/connections/{connectionId}/runRun all compliance checks for an integration connection and capture results as automated evidence.
Path parameters
connectionIdstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
checkIdstringSpecific check ID to run. Omit to run ALL available checks for the connection (matches the provider manifest).
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/checks/connections/<connectionId>/run \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"checkId": "aws-s3-bucket-public-access"
}'Run a single check on a connection
/v1/integrations/checks/connections/{connectionId}/run/{checkId}Run a single check on a connection in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
connectionIdstringrequiredcheckIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/checks/connections/<connectionId>/run/<checkId> \
--header 'X-API-Key: <api-key>'List variable definitions for a provider
/v1/integrations/variables/providers/{providerSlug}List variable definitions for a provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
providerSlugstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/variables/providers/<providerSlug> \
--header 'X-API-Key: <api-key>'List connection variables
/v1/integrations/variables/connections/{connectionId}List connection variables in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
connectionIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/variables/connections/<connectionId> \
--header 'X-API-Key: <api-key>'Update connection variables
/v1/integrations/variables/connections/{connectionId}Update connection variables in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
connectionIdstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
variablesobjectrequiredMap of variable id → value to persist for this connection. Values can be string, number, boolean, or string[] (the shape is provider-defined — call get-connection-variables to see what each connection accepts). Pass only the variables you want to set; existing ones not included are left untouched.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/variables/connections/<connectionId> \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"variables": {
"scan-interval-hours": 24,
"enabled-regions": [
"us-east-1",
"us-west-2"
],
"strict-mode": true
}
}'Get options for a connection variable
/v1/integrations/variables/connections/{connectionId}/options/{variableId}Get options for a connection variable in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
connectionIdstringrequiredvariableIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/variables/connections/<connectionId>/options/<variableId> \
--header 'X-API-Key: <api-key>'List checks for a task template
/v1/integrations/tasks/template/{templateId}/checksList checks for a task template in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
templateIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/tasks/template/<templateId>/checks \
--header 'X-API-Key: <api-key>'List checks attached to a task
/v1/integrations/tasks/{taskId}/checksList checks attached to a task in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
taskIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/tasks/<taskId>/checks \
--header 'X-API-Key: <api-key>'Run a check for a task
/v1/integrations/tasks/{taskId}/run-checkRun a check for a task in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
taskIdstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
connectionIdstringrequiredID of the integration connection that owns the check (call list-connections to find it).
checkIdstringrequiredID of the integration check to run (from the provider manifest — call list-checks-for-task to find available ones).
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/tasks/<taskId>/run-check \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"connectionId": "conn_abc123",
"checkId": "aws-s3-bucket-public-access"
}'Disconnect checks from a task
/v1/integrations/tasks/{taskId}/checks/disconnectDisconnect checks from a task in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
taskIdstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
connectionIdstringrequiredID of the integration connection whose check is being disconnected from / reconnected to this task.
checkIdstringrequiredID of the integration check being toggled.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/tasks/<taskId>/checks/disconnect \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"connectionId": "conn_abc123",
"checkId": "aws-s3-bucket-public-access"
}'Reconnect checks to a task
/v1/integrations/tasks/{taskId}/checks/reconnectReconnect checks to a task in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
taskIdstringrequiredRequest body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
connectionIdstringrequiredID of the integration connection whose check is being disconnected from / reconnected to this task.
checkIdstringrequiredID of the integration check being toggled.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/tasks/<taskId>/checks/reconnect \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"connectionId": "conn_abc123",
"checkId": "aws-s3-bucket-public-access"
}'List check runs for a task
/v1/integrations/tasks/{taskId}/runsList check runs for a task in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
taskIdstringrequiredQuery parameters
limitstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/tasks/<taskId>/runs?limit=<limit> \
--header 'X-API-Key: <api-key>'Sync Google Workspace employees
/v1/integrations/sync/google-workspace/employeesSync Google Workspace employees in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Query parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/google-workspace/employees?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Get Google Workspace sync status
/v1/integrations/sync/google-workspace/statusGet Google Workspace sync status in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/google-workspace/status \
--header 'X-API-Key: <api-key>'Sync Rippling employees
/v1/integrations/sync/rippling/employeesSync Rippling employees in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Query parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/rippling/employees?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Get Rippling sync status
/v1/integrations/sync/rippling/statusGet Rippling sync status in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/rippling/status \
--header 'X-API-Key: <api-key>'Sync JumpCloud employees
/v1/integrations/sync/jumpcloud/employeesSync JumpCloud employees in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Query parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/jumpcloud/employees?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Get JumpCloud sync status
/v1/integrations/sync/jumpcloud/statusGet JumpCloud sync status in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/jumpcloud/status \
--header 'X-API-Key: <api-key>'Get the currently configured employee sync provider
/v1/integrations/sync/employee-sync-providerGet the currently configured employee sync provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/employee-sync-provider \
--header 'X-API-Key: <api-key>'Set the employee sync provider
/v1/integrations/sync/employee-sync-providerSet the employee sync provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Request body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
providerobjectProvider slug to use for employee sync (must have the "sync" capability in its manifest — call list-providers to see options). Pass null or omit the field to disable employee sync for this org.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/employee-sync-provider \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"provider": "google-workspace"
}'Get the currently configured device sync provider
/v1/integrations/sync/device-sync-providerGet the currently configured device sync provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/device-sync-provider \
--header 'X-API-Key: <api-key>'Set the device sync provider
/v1/integrations/sync/device-sync-providerSet the device sync provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/device-sync-provider \
--header 'X-API-Key: <api-key>'List sync providers available to the org
/v1/integrations/sync/available-providersList sync providers available to the org in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Query parameters
syncTypestringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/available-providers?syncType=<syncType> \
--header 'X-API-Key: <api-key>'Sync employees for a dynamic provider
/v1/integrations/sync/dynamic/{providerSlug}/employeesSync employees for a dynamic provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
providerSlugstringrequiredQuery parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/dynamic/<providerSlug>/employees?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Sync devices for a dynamic provider
/v1/integrations/sync/dynamic/{providerSlug}/devicesSync devices for a dynamic provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Path parameters
providerSlugstringrequiredQuery parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/dynamic/<providerSlug>/devices?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Get the configured 2FA source provider
/v1/integrations/sync/two-factor-sourceGet the configured 2FA source provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/two-factor-source \
--header 'X-API-Key: <api-key>'Set the 2FA source provider
/v1/integrations/sync/two-factor-sourceSet the 2FA source provider in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Request body
organizationIdstringAuto-resolved from your API key / session. You can omit this; it is ignored by the server.
providerobjectProvider slug whose 2FA check feeds the People-tab 2FA column (must be bound to the 2FA task — call available-2fa-sources for options). Pass null or omit to clear the source.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/integrations/sync/two-factor-source \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"organizationId": "string",
"provider": "google-workspace"
}'List integrations that can supply per-user 2FA status
/v1/integrations/sync/available-2fa-sourcesList integrations that can supply per-user 2FA status in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/available-2fa-sources \
--header 'X-API-Key: <api-key>'Per-user 2FA status from the configured source
/v1/integrations/sync/two-factor-statusesPer-user 2FA status from the configured source in Complianz. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/integrations/sync/two-factor-statuses \
--header 'X-API-Key: <api-key>'