Formspark
App · 11 actions
Manage Formspark forms and read new submissions.
Actions
| Action | What it does |
|---|---|
| Create form | Create form. |
| Delete form | Delete form. |
| Delete submission | Delete submission. |
| Get an email template | Get an email template. |
| Get form | Get form. |
| Get token details | Get token details. |
| List form submissions | List form submissions. |
| List forms | List forms. |
| List workspace submissions | List workspace submissions. |
| List workspaces | List workspaces. |
| Update form | Update form. |
Create form
Create form.
Inputs
- Name
nametextRequired - Name.
- Description
descriptiontext - Description.
- Notification emails
notification_emailslist - Notification emails.
- Email threading
email_threadingtrue/false - Email threading.
- Automatic spam filter
automatic_spam_filtertrue/false - Whether submissions to this form are screened by the automatic spam filter. Defaults to true. Setting it to false stores every submission, including the ones the filter would have held back, and each of those counts against the workspace's quota.
- Custom honeypot
custom_honeypottext - Custom honeypot.
- Custom spam words
custom_spam_wordstext - Custom spam words.
- Allowed domains
allowed_domainslist - The sites a submission may be sent from. Each entry also covers its subdomains, and a pasted address is reduced to its host. Once the list is set, a submission must carry an Origin or Referer header naming one of them, so a server-side request is rejected unless it sends one. An empty list or null accepts submissions from anywhere.
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"allowedDomains": [
"example"
],
"automaticSpamFilter": true,
"createdAt": "example",
"customHoneypot": "example",
"customSpamWords": "example",
"description": "example",
"emailThreading": true,
"id": "example",
"name": "example",
"notificationEmails": [
"example"
],
"slackChannel": "example",
"spamProtection": "example",
"technology": "example",
"updatedAt": "example",
"webhookUrl": "example",
"workspaceId": "example"
}
}Delete form
Delete form.
Inputs
- Form ID
form_idtextRequired - Form id.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {}
}Delete submission
Delete submission.
Inputs
- Submission ID
submission_idtextRequired - Submission id.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {}
}Get an email template
Get an email template.
Inputs
- Form ID
form_idtextRequired - Form id.
- Template kind
template_kindtextRequired - Kind.One of:
notification,autoresponder.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"code": "example",
"kind": "example",
"mode": "example",
"paused": true,
"subject": "example",
"updatedAt": "example"
}
}Get form
Get form.
Inputs
- Form ID
form_idtextRequired - Form id.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"allowedDomains": [
"example"
],
"automaticSpamFilter": true,
"createdAt": "example",
"customHoneypot": "example",
"customSpamWords": "example",
"description": "example",
"emailThreading": true,
"id": "example",
"name": "example",
"notificationEmails": [
"example"
],
"slackChannel": "example",
"spamProtection": "example",
"technology": "example",
"updatedAt": "example",
"webhookUrl": "example",
"workspaceId": "example"
}
}Get token details
Get token details.
Inputs
None.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"createdAt": "example",
"expiresAt": "example",
"lastUsedAt": "example",
"name": "example",
"scopes": [
"example"
]
}
}List form submissions
List form submissions.
Inputs
- Form ID
form_idtextRequired - Form id.
- Limit
limitnumber - Limit.From 1 to 100.
- Starting after
starting_aftertext - Starting after.
- Search
searchtext - Search.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"data": [
{
"createdAt": "example",
"data": {},
"formId": "example",
"id": "example"
}
],
"hasMore": true,
"nextCursor": "example"
}
}List forms
List forms.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Starting after
starting_aftertext - Starting after.
- Workspace
workspace_idtextRequired - Workspace id.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"data": [
{
"allowedDomains": [
"example"
],
"automaticSpamFilter": true,
"createdAt": "example",
"customHoneypot": "example",
"customSpamWords": "example",
"description": "example",
"emailThreading": true,
"id": "example",
"name": "example",
"notificationEmails": [
"example"
],
"slackChannel": "example",
"spamProtection": "example",
"technology": "example",
"updatedAt": "example",
"webhookUrl": "example",
"workspaceId": "example"
}
],
"hasMore": true,
"nextCursor": "example"
}
}List workspace submissions
List workspace submissions.
Inputs
- Workspace
workspace_idtextRequired - Workspace id.
- Limit
limitnumber - Limit.From 1 to 100.
- Starting after
starting_aftertext - Starting after.
- Search
searchtext - Search.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"data": [
{
"createdAt": "example",
"data": {},
"formId": "example",
"id": "example"
}
],
"hasMore": true,
"nextCursor": "example"
}
}List workspaces
List workspaces.
Inputs
- Limit
limitnumber - Limit.From 1 to 100.
- Starting after
starting_aftertext - Starting after.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"data": [
{
"createdAt": "example",
"id": "example",
"name": "example",
"plan": "example",
"submissionsQuota": 1,
"updatedAt": "example"
}
],
"hasMore": true,
"nextCursor": "example"
}
}Update form
Update form.
Inputs
- Form ID
form_idtextRequired - Form id.
- Name
nametext - Name.
- Description
descriptiontext - Description.
- Notification emails
notification_emailslist - Notification emails.
- Email threading
email_threadingtrue/false - Email threading.
- Automatic spam filter
automatic_spam_filtertrue/false - Whether submissions to this form are screened by the automatic spam filter. Defaults to true. Setting it to false stores every submission, including the ones the filter would have held back, and each of those counts against the workspace's quota.
- Custom honeypot
custom_honeypottext - Custom honeypot.
- Custom spam words
custom_spam_wordstext - Custom spam words.
- Allowed domains
allowed_domainslist - The sites a submission may be sent from. Each entry also covers its subdomains, and a pasted address is reduced to its host. Once the list is set, a submission must carry an Origin or Referer header naming one of them, so a server-side request is rejected unless it sends one. An empty list or null accepts submissions from anywhere.
Outputs
dataobject- The response from Formspark.
Example output
{
"data": {
"allowedDomains": [
"example"
],
"automaticSpamFilter": true,
"createdAt": "example",
"customHoneypot": "example",
"customSpamWords": "example",
"description": "example",
"emailThreading": true,
"id": "example",
"name": "example",
"notificationEmails": [
"example"
],
"slackChannel": "example",
"spamProtection": "example",
"technology": "example",
"updatedAt": "example",
"webhookUrl": "example",
"workspaceId": "example"
}
}