import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
prospeo: {
type: "app",
app: "prospeo",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.prospeo.io/account-information`,
headers: {
"x-key": `${this.prospeo.$auth.api_key}`,
},
})
},
})
Prospeo uses API keys for authentication. When you connect your Prospeo account, Pipedream securely stores the keys so you can easily authenticate to Prospeo APIs in both code and no-code steps.