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