Quickly and easily setup refer a friend style giveaways, sweepstakes, and product launches!
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kickofflabs: {
type: "app",
app: "kickofflabs",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.kickofflabs.com/v1/${this.kickofflabs.$auth.campaign_id}/subscribe`,
headers: {
"Content-Type": `application/json`,
},
params: {
email: `sergio@pipekit.pro`,
api_key: `${this.kickofflabs.$auth.api_key}`,
},
})
},
})
Adds a new lead or modifies an existing lead on your campaign. See the documentation.
Remove a lead from your campaign. See the documentation.
KickoffLabs uses API keys for authentication. When you connect your KickoffLabs account, Pipedream securely stores the keys so you can easily authenticate to KickoffLabs APIs in both code and no-code steps.
To retrieve your Campaign ID and API Key,
Once you are in a campaign, navigate to "Settings" >> "All Settings"
Save your Campaign ID and API Key from this page.