---
title: "Update Draft"
method: PATCH
path: "/api/documents/drafts/{document_id}"
tags: ["drafts"]
---

# Update Draft

`PATCH /api/documents/drafts/{document_id}`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/documents/drafts/{document_id}`
- Auth: HTTP bearer

Envelope title and/or the recipients typed so far, so the sender can
leave for the editor and come back without retyping.

## Path parameters

- `document_id` string, uuid, required

## Request body

- DraftUpdateRequest
  - `name` string, nullable
  - `intended_recipients` IntendedRecipientIn[], nullable
    - `role` string, required
    - `name` string
    - `email` string
  - `revision` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zsign/apis/zsign-api.md) · [All operations](https://skmtc.dev/zsign/apis/zsign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zsign/apis/zsign-api/revisions/a674ac4137ba?raw)
