Organization
Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Get organization profile
/v1/organizationRetrieve organization profile data used to personalize compliance workflows, Trust Center branding, API automation, and audit readiness reporting.
Query parameters
includeOwnershipstringInclude ownership data for transfer UI
Responses
200Organization information retrieved successfully
idstringThe organization ID
namestringOrganization name
slugstringOrganization slug
logostringOrganization logo URL
metadatastringAdditional metadata in JSON format
websitestringOrganization website URL
onboardingCompletedbooleanWhether onboarding is completed
hasAccessbooleanWhether organization has access to the platform
fleetDmLabelIdintegerFleetDM label ID for device management
isFleetSetupCompletedbooleanWhether FleetDM setup is completed
primaryColorstringOrganization primary color in hex format
createdAtstringWhen the organization was created
authTypeenumHow the request was authenticated
One of: api-key session
{
"id": "org_abc123def456",
"name": "Acme Corporation",
"slug": "acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"hasAccess": true,
"fleetDmLabelId": 123,
"isFleetSetupCompleted": false,
"primaryColor": "#3B82F6",
"createdAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key"
}401Unauthorized - Invalid authentication or insufficient permissions
messagestring{
"message": "Invalid or expired API key"
}curl --request GET \
--url https://api.complianz.ai/v1/organization \
--header 'X-API-Key: <api-key>'Update organization
/v1/organizationPartially updates the authenticated organization. Only provided fields will be updated.
Request body
namestringOrganization name
slugstringOrganization slug
logostringOrganization logo URL
metadatastringAdditional metadata in JSON format
websitestringOrganization website URL
onboardingCompletedbooleanWhether onboarding is completed
fleetDmLabelIdintegerFleetDM label ID for device management
isFleetSetupCompletedbooleanWhether FleetDM setup is completed
primaryColorstringOrganization primary color in hex format
advancedModeEnabledbooleanWhether advanced mode is enabled for the organization
backgroundCheckStepEnabledbooleanWhether the background-check step is required during member onboarding. Set to false to turn off the "Require background checks" setting; true to require it.
evidenceApprovalEnabledbooleanWhether evidence requires approval before it is accepted.
deviceAgentStepEnabledbooleanWhether the device-agent step is enabled during member onboarding.
securityTrainingStepEnabledbooleanWhether the security-training step is enabled during member onboarding.
whistleblowerReportEnabledbooleanWhether the whistleblower reporting feature is enabled.
accessRequestFormEnabledbooleanWhether the trust-portal access request form is enabled.
Responses
200Organization updated successfully
idstringThe organization ID
namestringOrganization name
slugstringOrganization slug
logostringOrganization logo URL
metadatastringAdditional metadata in JSON format
websitestringOrganization website URL
onboardingCompletedbooleanWhether onboarding is completed
hasAccessbooleanWhether organization has access to the platform
fleetDmLabelIdintegerFleetDM label ID for device management
isFleetSetupCompletedbooleanWhether FleetDM setup is completed
primaryColorstringOrganization primary color in hex format
createdAtstringWhen the organization was created
authTypeenumHow the request was authenticated
One of: api-key session
{
"id": "org_abc123def456",
"name": "New Acme Corporation",
"slug": "new-acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"hasAccess": true,
"fleetDmLabelId": 123,
"isFleetSetupCompleted": false,
"primaryColor": "#3B82F6",
"createdAt": "2026-01-01T00:00:00.000Z",
"authType": "api-key"
}400Bad Request - Invalid update data
messagestring{
"message": "Invalid slug format"
}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"
}curl --request PATCH \
--url https://api.complianz.ai/v1/organization \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Acme Corporation",
"slug": "new-acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"fleetDmLabelId": 123,
"isFleetSetupCompleted": false,
"primaryColor": "#3B82F6",
"advancedModeEnabled": false,
"backgroundCheckStepEnabled": true,
"evidenceApprovalEnabled": false,
"deviceAgentStepEnabled": true,
"securityTrainingStepEnabled": true,
"whistleblowerReportEnabled": true,
"accessRequestFormEnabled": true
}'Delete organization
/v1/organizationPermanently deletes the authenticated organization. This action cannot be undone.
Responses
200Organization deleted successfully
successbooleanIndicates successful deletion
deletedOrganizationobjectShow child attributes
idstringThe deleted organization ID
namestringThe deleted organization name
authTypeenumHow the request was authenticated
One of: api-key session
{
"success": true,
"deletedOrganization": {
"id": "org_abc123def456",
"name": "Acme Corporation"
},
"authType": "api-key"
}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"
}curl --request DELETE \
--url https://api.complianz.ai/v1/organization \
--header 'X-API-Key: <api-key>'Get organization onboarding status
/v1/organization/onboardingGet organization onboarding status in Complianz. Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/organization/onboarding \
--header 'X-API-Key: <api-key>'Transfer organization ownership
/v1/organization/transfer-ownershipTransfers organization ownership to another member. The current owner will become an admin and keep all other roles. The new owner will receive the owner role while keeping their existing roles. Only the current organization owner can.
Request body
newOwnerIdstringrequiredMember ID of the new owner
userIdstringUser ID of the current owner initiating the transfer (required for API key auth, ignored for JWT auth)
Responses
ResponseOwnership transferred successfully
successbooleanmessagestringcurrentOwnerobjectShow child attributes
memberIdstringpreviousRolesstring[]newRolesstring[]newOwnerobjectShow child attributes
memberIdstringpreviousRolesstring[]newRolesstring[]{
"success": true,
"message": "Ownership transferred successfully",
"currentOwner": {
"memberId": "mem_abc123",
"previousRoles": [
"owner",
"employee"
],
"newRoles": [
"admin",
"employee"
]
},
"newOwner": {
"memberId": "mem_xyz789",
"previousRoles": [
"admin"
],
"newRoles": [
"admin",
"owner"
]
}
}curl --request POST \
--url https://api.complianz.ai/v1/organization/transfer-ownership \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"newOwnerId": "mem_xyz789",
"userId": "usr_abc123def456"
}'Get role notification settings
/v1/organization/role-notificationsGet role notification settings in Complianz. Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/organization/role-notifications \
--header 'X-API-Key: <api-key>'Update role notification settings
/v1/organization/role-notificationsUpdate role notification settings in Complianz. Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Request body
settingsobject[]requiredShow child attributes
rolestringrequiredpolicyNotificationsbooleanrequiredtaskRemindersbooleanrequiredtaskAssignmentsbooleanrequiredtaskMentionsbooleanrequiredweeklyTaskDigestbooleanrequiredfindingNotificationsbooleanrequiredResponses
200
curl --request PUT \
--url https://api.complianz.ai/v1/organization/role-notifications \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"settings": [
{
"role": "string",
"policyNotifications": true,
"taskReminders": true,
"taskAssignments": true,
"taskMentions": true,
"weeklyTaskDigest": true,
"findingNotifications": true
}
]
}'List API keys
/v1/organization/api-keysList active API keys for an organization so administrators can audit automation access and rotate credentials safely.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/organization/api-keys \
--header 'X-API-Key: <api-key>'Create API key
/v1/organization/api-keysCreate a scoped API key for server-side compliance automation such as evidence sync, policy workflows, or security questionnaire tooling. Requires a signed-in session (not an API key), and a key can only be given permissions the signed-in creator already has.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/organization/api-keys \
--header 'X-API-Key: <api-key>'List API key scopes
/v1/organization/api-keys/available-scopesRetrieve available API key scopes and permissions before creating credentials for a specific compliance automation workflow.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/organization/api-keys/available-scopes \
--header 'X-API-Key: <api-key>'Get organization brand color
/v1/organization/primary-colorRetrieve the organization primary brand color used for Trust Center theming, portals, and API-driven embedded experiences.
Query parameters
tokenanyAccess token for public access (alternative to authentication). When provided, authentication is not required.
Responses
200Organization primary color retrieved successfully
primaryColorstringThe primary color in hex format (e.g., #FF5733)
authTypeenumHow the request was authenticated
One of: api-key session
{
"primaryColor": "#3B82F6",
"authType": "api-key"
}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"
}curl --request GET \
--url https://api.complianz.ai/v1/organization/primary-color \
--header 'X-API-Key: <api-key>'Upload organization logo
/v1/organization/logoUpload organization logo in Complianz. Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/organization/logo \
--header 'X-API-Key: <api-key>'Remove organization logo
/v1/organization/logoRemove organization logo in Complianz. Manage organization profile data, API keys, logos, ownership, role notifications, and access approval settings.
Responses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/organization/logo \
--header 'X-API-Key: <api-key>'Revoke API key
/v1/organization/api-keys/revokeRevoke an organization API key when an integration is retired, credentials rotate, or access should be removed.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/organization/api-keys/revoke \
--header 'X-API-Key: <api-key>'Auto-approve organization access via domain or self-hosted check
/v1/organization-access/auto-approveGrants hasAccess on the active organization if the requesting user is an internal complianz.ai user, the deployment is self-hosted, or the user email domain matches the organization website domain and is an active Stripe customer.
Responses
200
curl --request POST \
--url https://api.complianz.ai/v1/organization-access/auto-approve \
--header 'X-API-Key: <api-key>'