Skip to main content
PATCH
/
forms
/
{id}
Update a form
curl --request PATCH \
  --url https://formitto.com/v1/forms/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "fields": [
    {}
  ],
  "webhookUrl": "<string>",
  "archived": true
}
'
{
  "id": 123,
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "domain": {
    "id": 123,
    "domain": "<string>"
  },
  "submissionCount": 123,
  "fields": [
    {}
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.formitto.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

A Formitto API key created in the dashboard (Settings → API keys). Pass it as Authorization: Bearer fmt_live_....

Path Parameters

id
integer
required

The resource id.

Body

application/json

Partial update. Only these fields are mutable. Sending userId, orgId, domainId, createdAt, or id returns a forbidden_field error.

name
string
fields
object[]
webhookUrl
string<uri> | null
archived
boolean

Response

The updated form.

id
integer
required
name
string
required
type
enum<string>
required
Available options:
standard,
multi-step
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
domain
object

Bound domain, or null for legacy unbound forms.

submissionCount
integer

Present on list responses; omitted on the single-resource view.

fields
object[]

The form's field schema. Present on the single-resource (detail) view only.