The Coupontools software hands Marketers the promotional tools to interact with their audience.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coupontools: {
type: "app",
app: "coupontools",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.coupontools.com/v4/subaccount/list`,
headers: {
"Content-Type": `application/json`,
"X-Client-Id": `${this.coupontools.$auth.client_id}`,
"X-Client-Secret": `${this.coupontools.$auth.client_secret}`,
},
})
},
})
Coupontools uses API keys for authentication. When you connect your Coupontools account, Pipedream securely stores the keys so you can easily authenticate to Coupontools APIs in both code and no-code steps.
To retrieve your Client ID & Secret,