curl --request GET \
--url https://{your-subdomain}.neetoform.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}.neetoform.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}.neetoform.com/api/external/v2/forms"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"forms": [
{
"id": "<string>",
"title": "<string>",
"is_published": true,
"state": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"submissions_count": 123,
"attempt_url": "<string>",
"is_archived": true,
"is_disabled": true,
"is_suspended": true,
"created_by": "<string>"
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"current_page_number": 123,
"page_size": 123
},
"total_count": 123
}{
"error": "order must be asc or desc."
}List forms
List all forms, oldest first by default. Pass order=desc for newest first. Without a page parameter, every matching form is returned.
curl --request GET \
--url https://{your-subdomain}.neetoform.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}.neetoform.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}.neetoform.com/api/external/v2/forms"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"forms": [
{
"id": "<string>",
"title": "<string>",
"is_published": true,
"state": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"submissions_count": 123,
"attempt_url": "<string>",
"is_archived": true,
"is_disabled": true,
"is_suspended": true,
"created_by": "<string>"
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"current_page_number": 123,
"page_size": 123
},
"total_count": 123
}{
"error": "order must be asc or desc."
}{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.
Query Parameters
Only return forms with this status (active, archived or favorite). Any other value returns all forms.
Words that must all appear in the form title, case-insensitive. Archived forms are included unless status narrows the list.
Sort direction by creation time, asc (oldest first) or desc (newest first). Defaults to asc.
asc, desc Page of results to retrieve, starting from 1. When omitted, all results are returned in one response and page_size is ignored.
Number of results per page. Defaults to 30 when omitted.
Response
OK - Request succeeded
Hide child attributes
Hide child attributes