Form Templates
Get Form Templates
/api/v1/forms/list_templates/
Form Templates are the blank forms that are distributed to your team to be filled out in the field. These are created via our form builder (https://www.zenput.com/builder/)
This query will allow you to get a list of all the templates as well as the number of submissions
parameter | description |
start | (optional) where to start pagination (0 is default) |
limit | (optional) how many results to return |
count | (optional) return total number of results |
Example Query
curl --header "X-API-TOKEN: <API_TOKEN>" \
'https://www.zenput.com/api/v1/forms/list_templates/?count=true'
Example Result
{
"results": [
{
"id": 1,
"is_secure": 0,
"date_created": {"$date": 1516664760000},
"date_last_submitted": {"$date": 1519238021000},
"num_submissions": 304,
"deleted": 0,
"title": "Bathroom Cleanliness",
"company_id": 1,
"company_name": "Zenput",
"permission_id": 4,
"creator_full_name": "John Mills",
"creator_user_id": 1
}
],
"count": 2, "status": 200, "success": true
}
Updated less than a minute ago