Forms
The Forms API lets you retrieve forms in your workspace and the responses that have been gathered for those forms.
Forms
Get Forms
GET https://api.developer.useforms.com/v1/forms
Returns the list of the forms in your workspace.
Query Parameters
name
string
Used to filter form using the exact name of the form
startDate
string
Used to retrieve all forms created after the specified date
endDate
string
Used to retrieve all forms created before the specified date
folder
string
Used to filter forms using the id of the folder the form belongs to
page
number
Page number to return
Default: 1
perPage
number
Number of records to return per page
Default: 50
sortBy
string
Property to use in sorting the forms.
Valid: [createdAt, name]
Default: createdAt
sortOrder
string
Specify whether to sort records in ascending or descending order.
Valid: [asc, desc]
Default: desc
includeData
boolean
Specify whether to return the data key in the endpoint response.
Valid: [true, false]
Default: true
includeMetadata
boolean
Specify whether to return the _metadata key in the endpoint response.
Valid: [true, false]
Default: true
Headers
Authorization
string
Bearer API_KEY
Get Form By Id
GET https://api.developer.useforms.com/v1/forms/:id
Returns a single form using the form's id.
Path Parameters
id
string
Id of the form
Headers
Authorization
string
Bearer API_KEY
Form Responses
Get Form Responses
GET https://api.developer.useforms.com/v1/forms/:id/responses
Returns the list of the responses that have been collected for a particular form.
Path Parameters
id
string
Id of the form to retrieve responses for
Query Parameters
status
string
Used to filter form responses using the status of the response.
Valid: [pending, accepted, rejected]
formShare
string
Used to filter form responses using the id of the form share the response belongs to.
country
string
Used to filter form responses using the country the response was submitted in
state
string
Used to filter form responses using the state the response was submitted in
startDate
string
Used to retrieve all form responses submitted after the specified date
endDate
string
Used to retrieve all form responses submitted before the specified date
page
number
Page number to return
Default: 1
perPage
number
Number of records to return per page
Default: 50
sortBy
string
Property to use in sorting the form responses.
Valid: [createdAt, name]
Default: createdAt
sortOrder
string
Specify whether to sort records in ascending or descending order.
Valid: [asc, desc]
Default: desc
includeData
boolean
Specify whether to return the data key in the endpoint response.
Valid: [true, false]
Default: true
includeMetadata
boolean
Specify whether to return the _metadata key in the endpoint response.
Valid: [true, false]
Default: true
Headers
Authorization
string
Bearer API_KEY
Get Form Response By Id
GET https://api.developer.useforms.com/v1/forms/:id/responses/:responseId
Returns a single form response using the the form id and the response id.
Path Parameters
responseId
string
Id of the response to retrieve
id
string
Id of the form the response belongs to
Headers
Authorization
string
Bearer API_KEY
Last updated
Was this helpful?