Returns the forms in the account you are calling as, together with the forms it inherits from the accounts above it.
This is an administration endpoint. It answers only for callers who may read forms and who are calling as the admin console; for anyone else it answers as though it does not exist. A caller who only needs to fill a form in should read it through GET /form/{id}/view instead, or through the endpoint of whatever the form is attached to.
is_submissions_listing and is_admin_submissions_listing narrow the result to the forms behind the two submission listings, and are mutually exclusive - if both are sent, the admin one wins.
A filter to apply to the results. Declared as an array of objects, where each object contains an attr (attribute code), operator and value key. Examples:
?filter[0]['attr']=name&filter[0][operator]=like&filter[0][value]=luke
?filter[0]['attr']=id&filter[0][operator]=>&filter[0][value]=265
See the filters documentation for more details on how to use this.
- Mock serverhttps://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/form
- Your Rosterfy accounthttps://example.rosterfy.com/api/v2/form
curl -i -X GET \
'https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/form?is_submissions_listing=true&is_admin_submissions_listing=true&report_type_id=3&per_page=5&page=1&filter=%7Bfilter%7D&sort_by=%7Bsort_by%7D&sort_order=%7Bsort_order%7D&_locale=en-US' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Rosterfy-Platform: admin'[ { "current_page": 1, "data": [ … ], "first_page_url": "https://example.rosterfy.com/api/v2/form?per_page=5&_locale=en-US&page=1", "from": 1, "next_page_url": "https://example.rosterfy.com/api/v2/form?per_page=5&_locale=en-US&page=2", "path": "https://example.rosterfy.com/api/v2/form", "per_page": 5, "prev_page_url": null, "to": 5 } ]