import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stannp: {
type: "app",
app: "stannp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.stannp.$auth.region}.stannp.com/api/v1/users/me`,
auth: {
username: `${this.stannp.$auth.api_key}`,
password: ``,
},
})
},
})
Creates a new recipient in a specified group. See the Stannp documentation
Get a single campaign based on the provided campaign ID. See the documentation
Stannp uses API keys for authentication. When you connect your Stannp account, Pipedream securely stores the keys so you can easily authenticate to Stannp APIs in both code and no-code steps.
To retrieve your API Key,