Uploads documents and initiates compliance analysis in a single call. Two mutually exclusive submission modes. Endpoint: POST /v2/documents/submit (Company Key) — multipart/form-data
Form data fields: Control Item Selection: Use selectedControlClusterIds, selectedControlItemIds, or both to narrow the analysis scope:
  • Both provided → union of cluster items and individual items
  • Clusters only → all non-obsolete items within those clusters
  • Items only → only those specific items
  • Neither → all non-obsolete items across the entire control (default)
Invalid cluster IDs (not belonging to the active control) return 422. Response (200):
Constraints:
  • Max 50MB per file
  • Supported formats: PDF, DOCX, XLSX, PPTX
  • organizationUnitId and complianceReviewId are mutually exclusive — provide exactly one. Both or neither returns 422 with Provide either complianceReviewId OR organizationUnitId, not both or neither.
  • An organizationUnitId that is not found, is archived or belongs to another company returns 422 with genericErrors: Organization unit not found or access denied
Still on the v1 submit route? It is deprecated; see Migrating to v2.