With the Ongage API, you can build powerful, data-driven marketing automation tools that make complex campaigns easy to manage, saving both time and money. Here are some examples of what you can build by leveraging the Ongage API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ongage: {
type: "app",
app: "ongage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ongage.net/api/lists`,
headers: {
"x_username": `${this.ongage.$auth.x_username}`,
"x_password": `${this.ongage.$auth.x_password}`,
"x_account_code": `${this.ongage.$auth.x_account_code}`,
},
})
},
})
Ongage uses API keys for authentication. When you connect your Ongage account, Pipedream securely stores the keys so you can easily authenticate to Ongage APIs in both code and no-code steps.
Connect to your Ongage account using the Username and Password of the Ongage User who will be using and issuing the API commands, along with your Account Code, that you can find under the Account Profile. See docs.
x_username
: your_ongage_usernamex_password
: your_ongage_passwordx_account_code
: your_ongage_account_code