v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBDocuments v2
Create draft and patch document
Create a new draft on the published document and apply the patch. There is 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/v2/documents/{documentId}/draft
Path parameters
documentIdstring required
The published document's URL slug (e.g. abc123) or its canonical workbook UUID.
Request body
Response
Draft created and patch applied successfully.
Example response
{
"identifier": "def456",
"draftIdentifier": "abc123",
"name": "Blob Sales",
"description": "Overview of daily Blobs R Us Sales"
}