Export an ISMS document as PDF or DOCX
POST
/v1/isms/documents/{id}/export
const url = 'https://api.varman.io/v1/isms/documents/example/export';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"format":"pdf","versionId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/isms/documents/example/export \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "format": "pdf", "versionId": "example" }'Export an ISMS document as PDF or DOCX in Varman. Manage ISO 27001 information security management system documents and registers, including scope, context, roles, internal audit, and management review.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
format
required
File format to export the ISMS document as
string
Example
pdfversionId
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.
string
Responses
Section titled “Responses”Rendered document