Policies

Upload a new policy version (draft)

Uploads a new version as a draft. Send the file base64-encoded (≤4 MB raw). Writes audit-log row v1_upload_policy.

Role gate: owner / admin.

Scope: policies:write.

post/api/v1/companies/{companyId}/policies/{policyId}/versions

Request

  • Base URL
    https://comply.strac.io
  • Auth
    HTTP bearer

Path parameters

companyIdstring required

Your organization id.

policyIdstring required

Policy id, e.g. POL-SEC-001.

Request body

fileNamestring required

File name with extension (.pdf, .docx, .doc).

fileContentstring required

Base64-encoded file bytes, ≤4 MB raw.

commentsstring

Optional changelog note for this version.

Response

Upload a new policy version (draft)

Changes

No recorded changes to this operation across all 1 revision of this API.