with Veriff and Merge?
Creates an Activity object with the given values. See the documentation
Update a candidate profile with the specified ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
veriff: {
type: "app",
app: "veriff",
}
},
async run({steps, $}) {
const data = {
"verification": {
"callback": "https://veriff.me",
"vendorData": `${this.veriff.$auth.guid}`
}
}
return await axios($, {
method: "post",
url: `${this.veriff.$auth.api_url}/v1/sessions/`,
headers: {
"content-type": `application/json`,
"x-auth-client": `${this.veriff.$auth.api_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
merge: {
type: "app",
app: "merge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.merge.dev/api/ats/v1/linked-accounts`,
headers: {
Authorization: `Bearer ${this.merge.$auth.api_key}`,
},
})
},
})