Forms
Duplicate a form
Copies a form. The copy is titled with Copy added, keeps the type, status, styles, countries, and active elements, and starts with no responses, no public token, and no embed settings. A copy of an active post-purchase form is active too, so checkout shows it alongside the original. Copying a form with sensitive fields needs the forms manage-sensitive permission, otherwise it returns 422. Sends the form_created webhook event. Returns the copy itself, not wrapped in a form object.
POST
/
api
/
forms
/
{id}
/
duplicate
Duplicate a form
curl --request POST \
--url https://api.fluid.app/api/forms/{id}/duplicate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/forms/{id}/duplicate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/forms/{id}/duplicate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/forms/{id}/duplicate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/forms/{id}/duplicate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/forms/{id}/duplicate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/forms/{id}/duplicate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 4137,
"title": "Enrollment - United States Copy",
"status": "active",
"description": "Tax and payout details we need before we can pay your commissions.",
"form_type": "post_purchase",
"form_redirect": null,
"updated_at": "2026-10-07T15:47:26Z",
"form_components": "[{\"element_type\":\"input\",\"puck_type\":\"legal_name\",\"label\":\"Legal name\",\"placeholder\":\"As it appears on your tax return\",\"required\":true,\"sensitive_info\":false,\"is_form_field\":true,\"id\":18351},{\"element_type\":\"input\",\"puck_type\":\"date_of_birth\",\"label\":\"Date of birth\",\"placeholder\":\"MM/DD/YYYY\",\"required\":true,\"sensitive_info\":true,\"is_form_field\":true,\"id\":18352},{\"element_type\":\"file_download\",\"puck_type\":\"file_download\",\"header_text\":\"Blank W-9\",\"sub_text\":\"Download the W-9, fill it in, and sign it.\",\"file_download_url\":\"https://www.irs.gov/pub/irs-pdf/fw9.pdf\",\"required\":false,\"is_form_field\":true,\"id\":18353},{\"element_type\":\"file_upload\",\"puck_type\":\"file_upload\",\"label\":\"Signed W-9\",\"required\":true,\"sensitive_info\":true,\"is_form_field\":true,\"id\":18354},{\"element_type\":\"multiple_choice_entry\",\"puck_type\":\"multiple_choice_entry\",\"label\":\"How did you hear about Dunder Mifflin?\",\"required\":false,\"sensitive_info\":false,\"is_form_field\":true,\"multiple_choice_options\":[{\"label\":\"Social media\"},{\"label\":\"A friend or family member\"},{\"label\":\"A rep\"},{\"label\":\"Search\"},{\"label\":\"An event\"},{\"label\":\"Other\"}],\"id\":18355}]",
"countries": [
{
"id": 233,
"name": "United States",
"iso": "US"
}
],
"form_styles": null,
"form_respondents_count": 0,
"public_token": null,
"embed_settings": {
"password_protected": false
},
"embed_url": null,
"share_url": null,
"meta": {
"request_id": "3e7a1d9c-5f24-4b80-9c6e-0a2d8f4b7e15",
"timestamp": "2026-10-07T15:47:26Z"
}
}Response
object | null
Success
A form as the admin sees it. Responses also carry public_token, embed_settings, embed_url, and share_url, described under Generate a public token.
⌘I
Duplicate a form
curl --request POST \
--url https://api.fluid.app/api/forms/{id}/duplicate \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fluid.app/api/forms/{id}/duplicate"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fluid.app/api/forms/{id}/duplicate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fluid.app/api/forms/{id}/duplicate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fluid.app/api/forms/{id}/duplicate"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.fluid.app/api/forms/{id}/duplicate")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/forms/{id}/duplicate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": 4137,
"title": "Enrollment - United States Copy",
"status": "active",
"description": "Tax and payout details we need before we can pay your commissions.",
"form_type": "post_purchase",
"form_redirect": null,
"updated_at": "2026-10-07T15:47:26Z",
"form_components": "[{\"element_type\":\"input\",\"puck_type\":\"legal_name\",\"label\":\"Legal name\",\"placeholder\":\"As it appears on your tax return\",\"required\":true,\"sensitive_info\":false,\"is_form_field\":true,\"id\":18351},{\"element_type\":\"input\",\"puck_type\":\"date_of_birth\",\"label\":\"Date of birth\",\"placeholder\":\"MM/DD/YYYY\",\"required\":true,\"sensitive_info\":true,\"is_form_field\":true,\"id\":18352},{\"element_type\":\"file_download\",\"puck_type\":\"file_download\",\"header_text\":\"Blank W-9\",\"sub_text\":\"Download the W-9, fill it in, and sign it.\",\"file_download_url\":\"https://www.irs.gov/pub/irs-pdf/fw9.pdf\",\"required\":false,\"is_form_field\":true,\"id\":18353},{\"element_type\":\"file_upload\",\"puck_type\":\"file_upload\",\"label\":\"Signed W-9\",\"required\":true,\"sensitive_info\":true,\"is_form_field\":true,\"id\":18354},{\"element_type\":\"multiple_choice_entry\",\"puck_type\":\"multiple_choice_entry\",\"label\":\"How did you hear about Dunder Mifflin?\",\"required\":false,\"sensitive_info\":false,\"is_form_field\":true,\"multiple_choice_options\":[{\"label\":\"Social media\"},{\"label\":\"A friend or family member\"},{\"label\":\"A rep\"},{\"label\":\"Search\"},{\"label\":\"An event\"},{\"label\":\"Other\"}],\"id\":18355}]",
"countries": [
{
"id": 233,
"name": "United States",
"iso": "US"
}
],
"form_styles": null,
"form_respondents_count": 0,
"public_token": null,
"embed_settings": {
"password_protected": false
},
"embed_url": null,
"share_url": null,
"meta": {
"request_id": "3e7a1d9c-5f24-4b80-9c6e-0a2d8f4b7e15",
"timestamp": "2026-10-07T15:47:26Z"
}
}