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}`,
},
})
},
})
PushEngage uses API keys for authentication. When you connect your PushEngage account, Pipedream securely stores the keys so you can easily authenticate to PushEngage APIs in both code and no-code steps.