With Mailerlite's API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailerlite: {
type: "app",
app: "mailerlite",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.mailerlite.com/api/campaigns`,
headers: {
Authorization: `Bearer ${this.mailerlite.$auth.api_key}`,
},
})
},
})
Removes single subscriber from specified group. See the docs here
Mailerlite uses API keys for authentication. When you connect your Mailerlite account, Pipedream securely stores the keys so you can easily authenticate to Mailerlite APIs in both code and no-code steps.
Get your Mailerlite developer API key here