Update Form

Updates a form's draft configuration or name.

PATCH /forms/

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe form ID

Body Parameters

ParameterTypeRequiredDescription
namestringNoNew form name
preview_configobjectNoUpdated form configuration

At least one of name or preview_config must be provided.

Note: Updating saves as a draft. Call Publish to make changes live.

Response

{ "message": "Draft saved successfully", "id": "abc123" }

Code Examples

curl -X PATCH https://api.makeform.ai/forms/abc123 \ -H "Authorization: Bearer mk_xxxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{"name": "Updated Form Name"}'