import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
beyond_presence: {
type: "app",
app: "beyond_presence",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bey.dev/v1/avatars`,
headers: {
"x-api-key": `${this.beyond_presence.$auth.api_key}`,
},
})
},
})
Beyond Presence uses API keys for authentication. When you connect your Beyond Presence account, Pipedream securely stores the keys so you can easily authenticate to Beyond Presence APIs in both code and no-code steps.