with Ringg AI and DrChrono?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ringg_ai: {
type: "app",
app: "ringg_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prod-api.ringg.ai/ca/api/v0/workspace`,
headers: {
"x-api-key": `${this.ringg_ai.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
drchrono: {
type: "app",
app: "drchrono",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.drchrono.com/api/users`,
headers: {
Authorization: `Bearer ${this.drchrono.$auth.oauth_access_token}`,
},
})
},
})