import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bippybox: {
type: "app",
app: "bippybox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://us-central1-bippyboxv2.cloudfunctions.net/getUserData`,
headers: {
"x-api-key": `${this.bippybox.$auth.api_key}`,
},
})
},
})
Triggers the BippyBox to play an audio file. See the documentation.
BippyBox uses API keys for authentication. When you connect your BippyBox account, Pipedream securely stores the keys so you can easily authenticate to BippyBox APIs in both code and no-code steps.
Sign in and copy your API Key and UID directly from your dashboard under "Show API Key".