Duplicate Form
Create an exact copy of a form, including all fields, settings, and notification config. Optionally assign it to a different site.
forms.create
POST
/v1/forms/:id/duplicateRequest Body (Optional)
| Parameter | Type | Description |
|---|---|---|
| targetSiteId | string | UUID of a different site to duplicate the form to. If omitted, duplicates to the same site. |
Example Request
curl
curl -X POST "https://proforms.io/api/v1/forms/f_abc123/duplicate" \
-H "Authorization: Bearer pf_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "targetSiteId": "s_other456" }'Response
200 OK
{
"success": true,
"data": {
"id": "f_new789",
"name": "Contact Form (Copy)",
"status": "draft",
"createdAt": "2026-02-17T11:00:00.000Z"
}
}