Browse and search developers
/
Forms
Duplicate a form
Copies the form and its questions into a new draft in the same workspace.
On this page
POST
/v1/forms/{formId}/duplicateScope: forms:writecurl -X POST "https://api.formitai.com/v1/forms/FORM_ID/duplicate" \
-H "Authorization: Bearer $FORMIT_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"Parameters
Path
formIdstringRequired
Headers
Idempotency-KeystringRetry-safe key. The same key and body within 24 hours replays the first response.
Response 201
idstringRequirednamestringRequireddescriptionstring or nullRequiredpublishedbooleanRequiredresponseCountintegerRequiredcreatedAtstringRequiredISO 8601 timestamp
updatedAtstringRequiredISO 8601 timestamp
questionsarray of objectRequiredidstringRequiredtypestringRequiredBlock type id, e.g.
short_text,email,multiple_choice.titlestringRequireddescriptionstring or nullRequiredrequiredbooleanRequiredpositionintegerRequiredsettingsobject (map)Requiredoptionsarray of objectRequiredtextstringRequiredvaluestringRequired
Example response
{
"id": "item_id",
"name": "Customer feedback",
"description": "string",
"published": true,
"responseCount": 1,
"createdAt": "2026-11-25T09:30:00.000Z",
"updatedAt": "2026-11-25T09:30:00.000Z",
"questions": [
{
"id": "item_id",
"type": "text",
"title": "How did we do?",
"description": "string",
"required": true,
"position": 1,
"settings": {},
"options": [
{
"text": "Yes",
"value": "yes"
}
]
}
]
}Errors
400Invalid request:validation_failedwith fielddetails, or malformed JSON.401Missing or invalid API key.403The key lacks the scope, or its creator lacks the workspace permission.404Not found in this key’s workspace.409Idempotency-Keyreused with a different request.429Rate limit exceeded. Wait forRetry-Afterseconds.
Can't find what you need?