Create awesome, professional online forms using our drag and drop builder. Order forms, surveys, integrations and more.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formsite: {
type: "app",
app: "formsite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.formsite.$auth.server}.formsite.com/api/v2/${this.formsite.$auth.user_id}/forms`,
headers: {
Authorization: `Bearer ${this.formsite.$auth.access_token}`,
},
})
},
})
Formsite uses API keys for authentication. When you connect your Formsite account, Pipedream securely stores the keys so you can easily authenticate to Formsite APIs in both code and no-code steps.
To connect Pipedream with your Formsite account,
access_token
and your form's API base URL on your form's Settings > Integrations > Formsite API pagehttps://123.formsite.com/api/v2/abc/forms/h3l1ugunni/
, your server
is 123
and your user_id
is abc