import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
intelitruth: {
type: "app",
app: "intelitruth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gateway.intelitruth.com/get_profile.api`,
params: {
BUSINESS_ACCOUNT_ID: `${this.intelitruth.$auth.business_account_id}`,
API_KEY: `${this.intelitruth.$auth.api_key}`,
MEMBER_ID: `${this.intelitruth.$auth.member_id}`,
},
})
},
})
Intelitruth uses API keys for authentication. When you connect your Intelitruth account, Pipedream securely stores the keys so you can easily authenticate to Intelitruth APIs in both code and no-code steps.