{ "operationId": "documentsExport", "path": "/documents.export", "method": "POST", "summary": "Export a document.", "tags": [ "Documents" ], "requestSchema": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the document. Either the UUID or the urlId is acceptable." }, "paperSize": { "type": "string", "description": "Paper size for PDF export (e.g., \"A4\", \"Letter\")" }, "signedUrls": { "type": "number", "description": "How long signed URLs should remain valid for attachment links (in seconds)" }, "includeChildDocuments": { "type": "boolean", "description": "Whether to include child documents in the export. Using this option will always return a zip file.", "default": false } }, "required": [ "id" ] } }