Get settings
curl --request GET \
--url https://{your-subdomain}.neetoengage.com/api/external/v1/setting \
--header 'Accept: <accept>' \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>', Accept: '<accept>'}};
fetch('https://{your-subdomain}.neetoengage.com/api/external/v1/setting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoengage.com/api/external/v1/setting"
headers = {
"X-Api-Key": "<x-api-key>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text){
"setting": {
"product_name": "Spinkart",
"website_url": "https://www.spinkart.com"
}
}{
"error": "Could not authenticate, invalid API Key"
}Settings
Get settings
Returns the product name and website URL of the workspace.
GET
/
setting
Get settings
curl --request GET \
--url https://{your-subdomain}.neetoengage.com/api/external/v1/setting \
--header 'Accept: <accept>' \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>', Accept: '<accept>'}};
fetch('https://{your-subdomain}.neetoengage.com/api/external/v1/setting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoengage.com/api/external/v1/setting"
headers = {
"X-Api-Key": "<x-api-key>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text){
"setting": {
"product_name": "Spinkart",
"website_url": "https://www.spinkart.com"
}
}{
"error": "Could not authenticate, invalid API Key"
}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
API key. Refer to Authentication for more information.
Must be application/json.
Available options:
application/json