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