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