Transfer forms
curl --request POST \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/transfer \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"ids": [
"6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"
],
"destination_workspace": "acme-eu"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ids: ['6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10'],
destination_workspace: 'acme-eu'
})
};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/transfer', 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/transfer"
payload = {
"ids": ["6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"],
"destination_workspace": "acme-eu"
}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"form_ids": [
"6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"
],
"destination_workspace": "acme-eu"
}Forms
Transfer forms
Move forms to another workspace. This needs a signed-in user, so it works with a CLI session but not with an API key. The user must be an admin of the destination workspace. Integrations are disconnected, forms get new public links, workspace payment questions are saved as drafts, and the forms are disabled.
POST
/
forms
/
transfer
Transfer forms
curl --request POST \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/transfer \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"ids": [
"6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"
],
"destination_workspace": "acme-eu"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ids: ['6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10'],
destination_workspace: 'acme-eu'
})
};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/transfer', 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/transfer"
payload = {
"ids": ["6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"],
"destination_workspace": "acme-eu"
}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"form_ids": [
"6f1c2a9e-3b6d-4d8e-9a51-2f0c7d4e8b10"
],
"destination_workspace": "acme-eu"
}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.
Body
application/json