Documents

Save an Office snapshot to Drive

Changed on

Requires organization membership, Workbot and Documents, and the member’s authorized Drive connection. Saving explicitly commits the selected draft version; native Google files first create an Office copy.

post/v1/documents/google-drive/files/{fileId}/office/{sessionId}/save

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/documents/google-drive/files/{fileId}/office/{sessionId}/save
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

fileIdstring required
sessionIdstring uuid required

Request body

draftVersioninteger required

Response

Office editor result.

fileIdstring required

Changes