List Forms
const url = 'https://api.upvio.com/v1/businesses/example/forms';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.upvio.com/v1/businesses/example/forms \ --header 'Authorization: Bearer <token>'List all forms
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The ID of the Business.
Query Parameters
Section titled “Query Parameters ”Filter forms by visibility. Comma-separated values.
Responses
Section titled “ Responses ”List of Forms
object
A form to collect data from users.
object
Unique identifier across the platform.
The unique alias of the form.
The title of the form.
The description of the form.
The category of the form.
The visibility of the form.
The total number of submissions for the form.
The number of unread submissions for the form.
The date and time when the form was published.
Time when the resource was created (ISO 8601 format).
Time when the resource was last updated (ISO 8601 format).
The URL to access the form.
The current status of the form.
The steps that make up this form.
object
The draft version of the form, if available.
object
Unique identifier across the platform.
The steps that make up the draft form.
object
Example
{ "data": [ { "alias": "booking-form", "title": "Booking Form", "description": "Default form used for appointment bookings.", "category": "General Practice", "visibility": "LISTED", "status": "Draft" } ]}