import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gem: {
type: "app",
app: "gem",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gem.com/v0/users`,
headers: {
"x-api-key": `${this.gem.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
Emit new event when a candidate is added in Gem. See the documentation
Gem uses API keys for authentication. When you connect your Gem account, Pipedream securely stores the keys so you can easily authenticate to Gem APIs in both code and no-code steps.