v7
OpenAPI 3.1.02026-08-06211328764.1 KBDocuments
Create draft and patch document
Create a new draft on the published document and apply the patch. No auto-publish — the response includes the new draftIdentifier for follow-up calls.
Pass an optional branchId to attach the draft to a branch; omit it for a draft on the main (unpublished) workspace.
patch/api/v2/documents/{identifier}/draft
Path parameters
identifierstring required
Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.
Example:abc123
Document identifier — either the URL slug (e.g. abc123) or the canonical workbook UUID.
Request body
Response
Draft created and patch applied successfully.