import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
humantic_ai: {
type: "app",
app: "humantic_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.humantic.ai/v1/user-profile`,
params: {
apikey: `${this.humantic_ai.$auth.api_key}`,
id: `https://www.linkedin.com/in/andrewyng/`,
persona: `sales`,
},
})
},
})
Humantic AI uses API keys for authentication. When you connect your Humantic AI account, Pipedream securely stores the keys so you can easily authenticate to Humantic AI APIs in both code and no-code steps.