FormSpree - Get Submissions
@sergio
code:
data:privatelast updated:3 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
formspree_get_submissions
Fetches all your submissions.
auth
(auths.formspree)
params
Optional
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
10
11
12
13
14
}
15
//See the API docs: https://help.formspree.io/hc/en-us/sections/360002930553-The-Forms-API

return await require("@pipedreamhq/platform").axios(this, {    
  url: `https://formspree.io/api/0/forms/${auths.formspree.hash_id}/submissions`,
  headers: {
    Authorization: `Bearer ${auths.formspree.api_key}`,
  },
  params: {
    since: params.since,
    limit: params.limit,
    order: params.order
  }
});