import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clearbit: {
type: "app",
app: "clearbit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://person.clearbit.com`,
headers: {
Authorization: `Bearer ${this.clearbit.$auth.secret_api_key}`,
},
})
},
})
Clearbit uses API keys for authentication. When you connect your Clearbit account, Pipedream securely stores the keys so you can easily authenticate to Clearbit APIs in both code and no-code steps.
Copy your "secret API key" from your Clearbit account here and paste it below.