v2

OpenAPI 3.0.1MIT2026-07-3138140196.0 KB

Update a form

Updates a form's settings, blocks, or status.

patch/forms/{formId}

Path parameters

formIdstring required

The ID of the form to update

Request body

namestring

New name for the form

status'BLANK' | 'DRAFT' | 'PUBLISHED' | 'DELETED'

Example request

{
  "blocks": [
    {
      "payload": {
        "allowedFiles": {
          "image/*": [
            ".png",
            ".jpg",
            ".gif"
          ],
          "application/*": [
            ".pdf"
          ]
        }
      }
    }
  ]
}

Response

Form updated successfully

idstring required
namestring required
workspaceIdstring required
status'BLANK' | 'DRAFT' | 'PUBLISHED' | 'DELETED' required
numberOfSubmissionsnumber required
isClosedboolean required
createdAtstring date-time required
updatedAtstring date-time required