with SMSlink nc and DrChrono?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smslink_nc: {
type: "app",
app: "smslink_nc",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smslink.nc/api/user/me`,
headers: {
Authorization: `Bearer ${this.smslink_nc.$auth.personal_access_token}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})