Formspark

App · 11 actions

Manage Formspark forms and read new submissions.

Actions

ActionWhat it does
Create formCreate form.
Delete formDelete form.
Delete submissionDelete submission.
Get an email templateGet an email template.
Get formGet form.
Get token detailsGet token details.
List form submissionsList form submissions.
List formsList forms.
List workspace submissionsList workspace submissions.
List workspacesList workspaces.
Update formUpdate form.

Create form

Create form.

Inputs

NamenametextRequired
Name.
Descriptiondescriptiontext
Description.
Notification emailsnotification_emailslist
Notification emails.
Email threadingemail_threadingtrue/false
Email threading.
Automatic spam filterautomatic_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 honeypotcustom_honeypottext
Custom honeypot.
Custom spam wordscustom_spam_wordstext
Custom spam words.
Allowed domainsallowed_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.
Workspaceworkspace_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 IDform_idtextRequired
Form id.

Outputs

dataobject
The response from Formspark.
Example output
{
  "data": {}
}

Delete submission

Delete submission.

Inputs

Submission IDsubmission_idtextRequired
Submission id.

Outputs

dataobject
The response from Formspark.
Example output
{
  "data": {}
}

Get an email template

Get an email template.

Inputs

Form IDform_idtextRequired
Form id.
Template kindtemplate_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 IDform_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 IDform_idtextRequired
Form id.
Limitlimitnumber
Limit.From 1 to 100.
Starting afterstarting_aftertext
Starting after.
Searchsearchtext
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

Limitlimitnumber
Limit.From 1 to 100.
Starting afterstarting_aftertext
Starting after.
Workspaceworkspace_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

Workspaceworkspace_idtextRequired
Workspace id.
Limitlimitnumber
Limit.From 1 to 100.
Starting afterstarting_aftertext
Starting after.
Searchsearchtext
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

Limitlimitnumber
Limit.From 1 to 100.
Starting afterstarting_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 IDform_idtextRequired
Form id.
Namenametext
Name.
Descriptiondescriptiontext
Description.
Notification emailsnotification_emailslist
Notification emails.
Email threadingemail_threadingtrue/false
Email threading.
Automatic spam filterautomatic_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 honeypotcustom_honeypottext
Custom honeypot.
Custom spam wordscustom_spam_wordstext
Custom spam words.
Allowed domainsallowed_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"
  }
}

On this page