Duplicate form
Copy a form into a new draft form with the same name and design.
Copy a form into a new draft form with the same name and design.
The copy shares the source's automatic form:{name} tag; other submitter tags are not copied. The
copy is not live until its status is set to active.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
profileUuidstringRequiredExample:
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000formUuidstringRequiredExample:
Form uuid parameter
550e8400-e09b-41d4-a716-400055000000Responses
200
Success response
application/json
uuidstringOptionalExample:
550e8400-e29b-41d4-a716-446655440000namestringOptionalExample:
Newsletter signupstatusstring · enumOptionalExample:
A paused form keeps its template online but stops accepting submissions.
activePossible values: typestring · enumOptionalExample:
formPossible values: created_atstring · date-timeOptionalExample:
2025-02-27T11:54:22Zupdated_atstring · date-time · nullableOptionalExample:
2025-03-04T09:12:07Z401
Unauthenticated response
application/json
500
Error response
application/json
post/api/reach/v1/profiles/{profileUuid}/forms/{formUuid}/duplicate
POST /api/reach/v1/profiles/{profileUuid}/forms/{formUuid}/duplicate HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"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?