Mailmodo is a powerful API that allows you to create and send custom email newsletters. With Mailmodo, you can create beautiful, responsive email newsletters that look great on any device. Plus, Mailmodo makes it easy to manage your subscribers and track your results.
Here are some examples of what you can build with the Mailmodo API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailmodo: {
type: "app",
app: "mailmodo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailmodo.com/api/v1/campaigns?type=CONTACT_LIST`,
headers: {
"Content-Type": `application/json`,
"mmApiKey": `${this.mailmodo.$auth.api_key}`,
},
})
},
})
Mailmodo uses API keys for authentication. When you connect your Mailmodo account, Pipedream securely stores the keys so you can easily authenticate to Mailmodo APIs in both code and no-code steps.
Navigate to Settings > API Keys, and click Show API Key to view the default API key.