Save a form draft
Save the editable questions and branching logic. The published form is unaffected.
PATCH
/api/v1/forms/{formId}/draftsAuthorization
Authorization required string · header
Bearer <token> with an account API key that has the forms:write scope. Path parameters
formId required string
Request body
application/json
version required integer
409. drafts required FormField[]
logicsLogic[]
[] to clear them. When omitted, HeyForm uses existing draft logic or falls back to published logic. See Logic. Response
200 · application/json
Source model: FormModel.
| Field | Type | Description |
|---|---|---|
id | string | ID returned by the operation. |
drafts | array | Sanitized editable questions and endings. See FormField. |
version | integer | Current draft version. |