Fetching Form List

This retrieves a list of all forms (including collaborative forms) belonging to the Moaform account that issued the API Key, in JSON format.

[GET] https://api.moaform.com/v1/forms

 

REQUEST

Query Parameters

KeyTypeDescription
searchstringSearch for forms by title
pageintegerThe page of the list to fetch. The default is 1
page_sizeintegerThe number of items to fetch per page. The default is 25, the maximum is 1000
sort_bystringThe field by which to sort the list. The default is created_at (one of created_at, last_updated_at)
order_bystringThe order in which to sort. The default is asc (either ascending order asc or descending order desc)

 

RESPONSE

KeyTypeDescription
total_itemsintegerTotal number of items in the form list
page_countintegerNumber of pages
items[object] 
↳ long_idstringUnique ID of the form
↳ idstringlong_id is the official form ID. For compatibility with older versions, id is temporarily supported but will no longer be available in the future, please use long_id whenever possible.
↳ namestringFile name of the form
↳ statusstringStatus of the form (one of editing, pending, collecting, closed)
↳ collectionobject 
     ↳ responses_countintegerNumber of collected responses
     ↳ start_atstringStart time for collecting responses. Null if not started
     ↳ end_atstringEnd time for collecting responses. Null if not ended
groups[string]Group title
links[object] 
↳ selfstringAPI endpoint link
↳ report_urlstringLink to view results
↳ answer_urlstringLink to responses
ownedbooleanOwnership status of the form
last_responsed_atstringLast response timestamp
created_atstringForm creation timestamp
last_updated_atstringLast form modification timestamp