with IdentityCheck and Firefish?
Emit new event when a new candidate is created. See the documentation
Emit new event when a new contact is created. See the documentation
Removes a particular contact or candidate from all existing firefish email subscriptions. See the documentatio
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
identitycheck: {
type: "app",
app: "identitycheck",
}
},
async run({steps, $}) {
const data = {
"firstName": "Sarah",
"lastName": "Husband",
"email": "sarah@frabrikam.com",
"emailUser": "Yes",
"type": "kyc",
"triggeredBy": "direct",
"active": true
}
return await axios($, {
method: "post",
url: `https://identity.stackgo.io/api/direct-verification`,
headers: {
"Authorization": `Basic ${this.identitycheck.$auth.api_key}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
firefish: {
type: "app",
app: "firefish",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.firefishsoftware.com/api/v1.0/contacts/search/`,
headers: {
Authorization: `Bearer ${this.firefish.$auth.oauth_access_token}`,
},
})
},
})