Browse and search developers

Forms

Update a form

Rename a form or change its description.

On this page
  1. Parameters
  2. Request body
  3. Response
  4. Errors
PATCH/v1/forms/{formId}Scope: forms:write
curl -X PATCH "https://api.formitai.com/v1/forms/FORM_ID" \
  -H "Authorization: Bearer $FORMIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Customer feedback",
  "description": "string"
}'

Parameters

Path

  • formIdstringRequired

Request body

  • namestring

    1–120 characters

  • descriptionstring

    max 500 characters

Response 200

  • idstringRequired
  • namestringRequired
  • descriptionstring or nullRequired
  • publishedbooleanRequired
  • responseCountintegerRequired
  • createdAtstringRequired

    ISO 8601 timestamp

  • updatedAtstringRequired

    ISO 8601 timestamp

  • questionsarray of objectRequired
    • idstringRequired
    • typestringRequired

      Block type id, e.g. short_text, email, multiple_choice.

    • titlestringRequired
    • descriptionstring or nullRequired
    • requiredbooleanRequired
    • positionintegerRequired
    • settingsobject (map)Required
    • optionsarray of objectRequired
      • textstringRequired
      • valuestringRequired
Example response
{
  "id": "item_id",
  "name": "Customer feedback",
  "description": "string",
  "published": true,
  "responseCount": 1,
  "createdAt": "2026-11-25T09:30:00.000Z",
  "updatedAt": "2026-11-25T09:30:00.000Z",
  "questions": [
    {
      "id": "item_id",
      "type": "text",
      "title": "How did we do?",
      "description": "string",
      "required": true,
      "position": 1,
      "settings": {},
      "options": [
        {
          "text": "Yes",
          "value": "yes"
        }
      ]
    }
  ]
}

Errors

  • 400Invalid request: validation_failed with field details, or malformed JSON.
  • 401Missing or invalid API key.
  • 403The key lacks the scope, or its creator lacks the workspace permission.
  • 404Not found in this key’s workspace.
  • 429Rate limit exceeded. Wait for Retry-After seconds.

Ready?

Build your first AI form in minutes.

No credit card. Generate from a prompt, enable follow-ups, and publish a link or embed the same day.