import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whatconverts: {
type: "app",
app: "whatconverts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.whatconverts.com/api/v1/leads`,
auth: {
username: `${this.whatconverts.$auth.api_token}`,
password: `${this.whatconverts.$auth.api_secret}`,
},
})
},
})
WhatConverts uses API keys for authentication. When you connect your WhatConverts account, Pipedream securely stores the keys so you can easily authenticate to WhatConverts APIs in both code and no-code steps.
To retrieve your API Keys,