import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
visibot: {
type: "app",
app: "visibot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.visibot.app/me`,
headers: {
Authorization: `Bearer ${this.visibot.$auth.auth_key}`,
"accept": `application/json`,
},
})
},
})
Visibot uses API keys for authentication. When you connect your Visibot account, Pipedream securely stores the keys so you can easily authenticate to Visibot APIs in both code and no-code steps.