import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
applicantstack: {
type: "app",
app: "applicantstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.applicantstack.$auth.domain}.applicantstack.com/api/candidates`,
headers: {
"token": `${this.applicantstack.$auth.api_token}`,
},
})
},
})
ApplicantStack uses API keys for authentication. When you connect your ApplicantStack account, Pipedream securely stores the keys so you can easily authenticate to ApplicantStack APIs in both code and no-code steps.