import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
recruiterflow: {
type: "app",
app: "recruiterflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://recruiterflow.com/api/external/user/list`,
headers: {
"rf-api-key": `${this.recruiterflow.$auth.api_key}`,
},
params: {
include_count: `true`,
},
})
},
})
Recruiterflow uses API keys for authentication. When you connect your Recruiterflow account, Pipedream securely stores the keys so you can easily authenticate to Recruiterflow APIs in both code and no-code steps.