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