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