with Adrapid and MailGenius?
Generates a new banner using provided data. This action can create different types of banners, such as animated HTML5, image, or video banners. See the documentation
Returns daily limit for api token, how many email tests are used in last 24 hours and how many are still remaining for use. See the documentation
Retrieves a specified banner. This action should be used after a 'create-banner' action to ensure that the banner is fully processed and ready for use. See the documentation
Returns generated test email, limit exceeded if daily limit is reached. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adrapid: {
type: "app",
app: "adrapid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.adrapid.com/me`,
headers: {
Authorization: `Bearer ${this.adrapid.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailgenius: {
type: "app",
app: "mailgenius",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mailgenius.com/external/api/audits`,
headers: {
Authorization: `Bearer ${this.mailgenius.$auth.api_token}`,
},
})
},
})