---
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

---

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