Get organization settings
curl --request GET \
--url https://{your-subdomain}.neetokb.com/api/external/v2/setting \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetokb.com/api/external/v2/setting', 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/setting"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"knowledge_base_name": "Acme Help",
"url": "https://acme.neetokb.com",
"site_content_preference": "Categories",
"allow_user_signup": true,
"enable_social_media_sharing": true,
"facebook_app_id": "<string>",
"show_article_nav_links": true,
"header_text": "How can we help?",
"search_input_text": "Search",
"copyright_content": "<string>",
"contact_section": {
"title": "<string>",
"kind": "action",
"link": "#trigger-chat",
"button_label": "Contact us"
}
}Settings
Get organization settings
This API allows to fetch workspace settings.
GET
/
setting
Get organization settings
curl --request GET \
--url https://{your-subdomain}.neetokb.com/api/external/v2/setting \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetokb.com/api/external/v2/setting', 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/setting"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"knowledge_base_name": "Acme Help",
"url": "https://acme.neetokb.com",
"site_content_preference": "Categories",
"allow_user_signup": true,
"enable_social_media_sharing": true,
"facebook_app_id": "<string>",
"show_article_nav_links": true,
"header_text": "How can we help?",
"search_input_text": "Search",
"copyright_content": "<string>",
"contact_section": {
"title": "<string>",
"kind": "action",
"link": "#trigger-chat",
"button_label": "Contact us"
}
}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.
Response
OK - Request succeeded