---
title: "Export an ISMS document as PDF or DOCX"
method: POST
path: "/v1/isms/documents/{id}/export"
tags: ["ISMS"]
---

# Export an ISMS document as PDF or DOCX

`POST /v1/isms/documents/{id}/export`

Export an ISMS document as PDF or DOCX in Comp AI.

## Path parameters

- `id` string, required

## Request body

- ExportIsmsDocumentDto
  - `format` 'pdf' | 'docx', required — File format to export the ISMS document as
  - `versionId` string — Published version to export. Omit to export the document's current published version (or the working draft if it has never been published); provide a version id to download exactly what was approved at that version.

## Response `200`

Rendered document

## Changes

> 56 revisions in range; 4 could not be searched.

- **2026-07-15** `8d8d15c8f24d` — 1 info
  - added the new optional request property `versionId`
- **2026-06-19** `f86a76142b0c` — 1 breaking, 1 info
  - added the new required request property `format`
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-06-15** `d5bf108f45b1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/isms/documents/:id/export/post.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
