Update form
Rename a form and/or change its status.
Rename a form and/or change its status.
Setting a draft or paused form to active takes it live: its latest saved design is published
and visitors can submit it. paused and draft stop the form from accepting submissions. A form is
not reachable by visitors until it is taken live. Design changes saved while the form is already
active stay unpublished until the form is paused and set to active again. Renaming does not rename
the automatic form:{name} tag.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Form uuid parameter
550e8400-e09b-41d4-a716-400055000000Rename a form and/or change its status. Send at least one field.
Form name. Letters, digits, spaces and - . ' _ only.
Newsletter signupPattern: ^[\p{L}\p{M}\p{N}\s\-.'_]+$active takes the form live, paused and draft stop it accepting submissions.
activePossible values: Success response
550e8400-e29b-41d4-a716-446655440000Newsletter signupA paused form keeps its template online but stops accepting submissions.
activePossible values: formPossible values: 2025-02-27T11:54:22Z2025-03-04T09:12:07ZUnauthenticated response
Validation error response
Error response
PATCH /api/reach/v1/profiles/{profileUuid}/forms/{formUuid} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"name": "Newsletter signup",
"status": "active"
}{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Newsletter signup",
"status": "active",
"type": "form",
"template": {
"uuid": "2080cc86-e026-4f7b-9598-d4132f8c7c2f",
"path": "forms/8f2c1b9e-1f4a-4a1e-9a2b-2f3c4d5e6f70/9a1b2c3d.html"
},
"created_at": "2025-02-27T11:54:22Z",
"updated_at": "2025-03-04T09:12:07Z"
}Last updated
Was this helpful?