with PushEngage and Dynamic Content Snippet?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushengage: {
type: "app",
app: "pushengage",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://api.pushengage.com/apiv1/notifications`,
headers: {
"api-key": `${this.pushengage.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynamic_content_snippet: {
type: "app",
app: "dynamic_content_snippet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.contentsnip.com/api/mappings`,
headers: {
"x-api-key": `${this.dynamic_content_snippet.$auth.api_key}`,
},
})
},
})