Update NeetoChat setting
curl --request PATCH \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/neeto_chat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"neeto_chat": {
"enabled": true
}
}
'const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({neeto_chat: {enabled: true}})
};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/neeto_chat', 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}/neeto_chat"
payload = { "neeto_chat": { "enabled": True } }
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"neeto_chat": {
"enabled": false
}
}{
"error": "<string>"
}{
"error": "Form does not exist."
}Form settings
Update NeetoChat setting
Show or hide the NeetoChat widget on the public page of the form.
PATCH
/
forms
/
{form_id}
/
neeto_chat
Update NeetoChat setting
curl --request PATCH \
--url https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/neeto_chat \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--data '
{
"neeto_chat": {
"enabled": true
}
}
'const options = {
method: 'PATCH',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({neeto_chat: {enabled: true}})
};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/forms/{form_id}/neeto_chat', 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}/neeto_chat"
payload = { "neeto_chat": { "enabled": True } }
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"neeto_chat": {
"enabled": false
}
}{
"error": "<string>"
}{
"error": "Form does not exist."
}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.
Body
application/json