Reset a form
curl --request PATCH \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'PATCH', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.patch(url, headers=headers)
print(response.text){
"form": {
"id": "6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10",
"title": "Customer feedback",
"is_published": false,
"state": "draft",
"created_at": "2026-10-28T09:12:44.512Z",
"updated_at": "2026-10-28T09:12:44.512Z",
"attempt_url": "https://spinkart.neetoform.com/a1b2c3d4e5f6",
"submissions_count": 0,
"is_archived": false,
"is_disabled": false,
"is_suspended": false,
"created_by": "Oliver Smith"
}
}{
"error": "Form does not exist."
}{
"error": "Validation failed"
}Forms
Reset a form
Throw away the draft changes of a form and go back to the published version. A form that was never published and has no questions yet is returned unchanged.
PATCH
/
forms
/
{form_id}
/
reset
Reset a form
curl --request PATCH \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'PATCH', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/reset"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.patch(url, headers=headers)
print(response.text){
"form": {
"id": "6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10",
"title": "Customer feedback",
"is_published": false,
"state": "draft",
"created_at": "2026-10-28T09:12:44.512Z",
"updated_at": "2026-10-28T09:12:44.512Z",
"attempt_url": "https://spinkart.neetoform.com/a1b2c3d4e5f6",
"submissions_count": 0,
"is_archived": false,
"is_disabled": false,
"is_suspended": false,
"created_by": "Oliver Smith"
}
}{
"error": "Form does not exist."
}{
"error": "Validation failed"
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Unique ID of the form. Refer to Getting the Form ID for detailed instructions.
Response
OK - Form reset successfully