import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ashby: {
type: "app",
app: "ashby",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ashbyhq.com/user.list`,
headers: {
"accept": `application/json; version=1`,
"content-type": `application/json`,
},
auth: {
username: `${this.ashby.$auth.api_key}`,
password: ``,
},
})
},
})
Considers a candidate for a job (e.g., when sourcing a candidate for a job posting). See the documentation
Retrieves a list of applications within an organization. See the documentation
Ashby uses API keys for authentication. When you connect your Ashby account, Pipedream securely stores the keys so you can easily authenticate to Ashby APIs in both code and no-code steps.