List all forms
curl --request GET \
--url https://{your-subdomain}.neetodesk.com/api/external/v2/forms \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetodesk.com/api/external/v2/forms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetodesk.com/api/external/v2/forms"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"forms": [
{
"id": "aaaabbbb-cccc-dddd-eeee-ffff00001111",
"title": "Contact support",
"slug": "contact-support"
}
],
"kb_details": {
"knowledge_base_name": "Spinkart Help Center"
}
}Forms
List forms
Lists the enabled web forms through which customers raise tickets. Disabled forms are not returned.
GET
/
forms
List all forms
curl --request GET \
--url https://{your-subdomain}.neetodesk.com/api/external/v2/forms \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetodesk.com/api/external/v2/forms', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetodesk.com/api/external/v2/forms"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"forms": [
{
"id": "aaaabbbb-cccc-dddd-eeee-ffff00001111",
"title": "Contact support",
"slug": "contact-support"
}
],
"kb_details": {
"knowledge_base_name": "Spinkart Help Center"
}
}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
200 - application/json
OK - Request succeeded
Enabled web forms in the workspace. Disabled forms are omitted.