> ## Documentation Index
> Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Compliance Automation API

> Use the Complianz API to automate SOC 2 evidence, policies, Trust Access, security questionnaires, tasks, and compliance workflows.

The Complianz API lets engineering, security, and compliance teams connect their internal systems to the compliance workflows they run in Complianz.

Use it to automate evidence collection, manage policies, coordinate compliance tasks, answer security questionnaires, configure Trust Center access, track risks and vendors, and keep SOC 2, ISO 27001, HIPAA, GDPR, and custom framework programs connected to the systems where work actually happens.

> **Prefer to drive Complianz from an AI assistant?** The same endpoints documented here are also available as tools in the [Complianz MCP Connector](https://www.trycomp.ai/docs/mcp-connector.md) — add it to Claude, Cursor, ChatGPT, or any MCP-compatible client with one URL and a sign-in, then ask in plain language.

## Authentication

Most organization automation uses the `X-API-Key` header. Create scoped API keys inside your Complianz organization, keep them server-side, and grant only the permissions needed for the workflow you are building.

```bash theme={null}
curl --request GET \
  --url "https://api.trycomp.ai/v1/organization" \
  --header "X-API-Key: $COMP_AI_API_KEY"
```

The reference covers Complianz's product APIs across compliance operations, not just a single workflow. API-key backed endpoints are the integration contract for organization automation, while app session routes are kept out of the public reference.

* Trust Access management, public Trust Center data, evidence, policies, questionnaires, vendors, risks, integrations, cloud checks, and device compliance are API-backed workflows.
* Device Agent endpoints are used by signed-in employee devices.
* Webhook endpoints are intentionally omitted from the public reference unless they are useful for implementers.
* Internal, platform-admin, health, assistant, and browser automation routes are excluded from Mintlify docs.

## API Surface

| Area | What you can automate |
| - | - |
| Evidence and tasks | List compliance tasks, upload evidence, export audit-ready evidence bundles, and create recurring evidence automations. |
| Policies and knowledge base | Create, version, publish, export, and improve policies while keeping approved source material available for AI-assisted workflows. |
| Security questionnaires | Upload questionnaires, extract questions, generate answers from approved evidence, review edits, and export completed files. |
| Trust Center and Trust Access | Manage access requests, NDA signing, grants, document downloads, certificates, FAQs, custom links, and public overview content. |
| Frameworks and controls | Track framework readiness, map controls to policies, tasks, requirements, and evidence expectations. |
| Integrations and cloud checks | Connect providers, run compliance checks, trigger AWS, Azure, and GCP scans, and review cloud security findings. |
| People, devices, and training | Track workforce members, device compliance, training completions, and endpoint evidence for people-security controls. |
| Vendors, risks, and findings | Manage third-party risk, organizational risks, audit findings, remediation status, and supporting evidence. |
| Penetration tests | Create security assessment runs, track progress, inspect findings, and download report artifacts. |

## Common Workflows

> [card] [Automated evidence](https://www.trycomp.ai/docs/automated-evidence.md)
>
> Connect tasks to recurring evidence collection so audit proof stays current.

> [card] [Security questionnaire API](https://www.trycomp.ai/docs/api-reference/questionnaire/upload-a-questionnaire-file-and-auto-answer-with-export.md)
>
> Upload questionnaires, generate approved answers, and export reviewer-ready files.

> [card] [Policy workflows](https://www.trycomp.ai/docs/ai-policy-editor.md)
>
> Draft, version, publish, and export policies that support audits and customer reviews.

> [card] [Trust Access](https://www.trycomp.ai/docs/trust-access.md)
>
> Approve external reviewers, collect NDAs, and share controlled Trust Center resources.

> [card] [Integrations](https://www.trycomp.ai/docs/integrations.md)
>
> Connect SaaS, cloud, and security tools that provide continuous compliance evidence.

> [card] [Cloud tests](https://www.trycomp.ai/docs/cloud-tests.md)
>
> Run AWS, Azure, and GCP security checks and turn findings into remediation work.

> [card] [Device compliance](https://www.trycomp.ai/docs/device-agent.md)
>
> Register endpoints and submit device security check-ins for workforce controls.

> [card] [Penetration tests](https://www.trycomp.ai/docs/penetration-tests.md)
>
> Start security assessment runs and download report deliverables for review.

## Generated Reference Quality

The endpoint reference is generated from the NestJS OpenAPI specification used by the Complianz API. Endpoint titles, descriptions, examples, visibility rules, and Mintlify metadata are maintained in the API source so generated pages stay aligned with product behavior as routes change.

Public customer-facing endpoints are documented. Internal operations, admin tooling, health checks, webhooks that are not useful for implementers, and routes that would expose private implementation details are intentionally excluded or hidden.

## Implementation Guidance

Start with the workflow you want to automate, then create a scoped API key for that workflow. For most teams, the first high-value integrations are:

1. Syncing evidence and task status into internal compliance reporting.
2. Uploading source documents to improve questionnaire and policy workflows.
3. Connecting Trust Center access approvals to CRM or customer-security processes.
4. Exporting evidence, policies, or questionnaire results for auditor and customer reviews.

Use production API calls against `https://api.trycomp.ai` and avoid storing API keys in client-side code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.