Build and manage web forms quickly and easily with Gravity Forms for WordPress.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gravity_forms: {
type: "app",
app: "gravity_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://lous-zebra-nuki.gravitydemo.com/wp-json/gf/v2/forms`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.gravity_forms.$auth.consumer_key}`,
password: `${this.gravity_forms.$auth.consumer_secret}`,
},
})
},
})
Gravity Forms uses API keys for authentication. When you connect your Gravity Forms account, Pipedream securely stores the keys so you can easily authenticate to Gravity Forms APIs in both code and no-code steps.
To retrieve your Consumer Key and Secret,