Update NeetoChat integration
curl --request PATCH \
--url https://{your-subdomain}.neetokb.com/api/external/v2/integrations/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}.neetokb.com/api/external/v2/integrations/neeto_chat', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetokb.com/api/external/v2/integrations/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": true
}Integrations
Update NeetoChat integration
This API turns the NeetoChat integration on or off. The put method works too. For CLI sessions, this needs the Manage integrations permission.
PATCH
/
integrations
/
neeto_chat
Update NeetoChat integration
curl --request PATCH \
--url https://{your-subdomain}.neetokb.com/api/external/v2/integrations/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}.neetokb.com/api/external/v2/integrations/neeto_chat', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetokb.com/api/external/v2/integrations/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": true
}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
Send true to turn NeetoChat on and false to turn it off.
Response
OK - Request succeeded