Skip to main content
PATCH
Update a form

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-11-10

Path Parameters

formId
string<uuid>
required

The form's id, from replo_forms_list

Body

application/json
projectId
string<uuid>
required

The project that owns the forms, from list_projects

name
string
Required string length: 1 - 255
status
enum<string>
Available options:
draft,
live,
archived
fields
object[]

Replaces every question; the site shows the change at once

Maximum array length: 50

One input on a form

notifyEmails
string<email>[]

People on the project who get an email for each new response; each must already be on the project

Maximum array length: 20
uniqueFieldKeys
string[]

Fields that identify a repeat entry, such as email; a repeat returns the first entry and sends nothing

Maximum array length: 5
destinations
object

Replaces the forwarding settings; the webhook signing secret is kept. After setting webhookUrl, call replo_forms_webhook_secret_rotate to get the signing secret

closesAt
string<date-time> | null

When the form stops taking responses; null never closes

responseLimit
integer | null

How many responses the form takes; null has no limit

Required range: 1 <= x <= 1000000
successMessage
string | null

The thank-you message; {field_key} is replaced with that answer, null uses the site's own

Maximum string length: 2000

Response

Update a form

object
enum<string>
required
Available options:
form
id
string<uuid>
required
projectId
string<uuid>
required
key
string
required
name
string
required
status
enum<string>
required
Available options:
draft,
live,
archived
fields
object[]
required

One input on a form

notifyEmails
string[]
required

People who get an email for each new response

uniqueFieldKeys
string[]
required
closesAt
string | null
required

Responses after this time are refused; null never closes

responseLimit
integer | null
required

Responses past this count are refused; null has no limit

successMessage
string | null
required

The thank-you message; {field_key} is replaced with that answer

destinations
object
required
createdAt
string
required
updatedAt
string
required