with FinalScout and VerticalResponse?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finalscout: {
type: "app",
app: "finalscout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finalscout.com/v1/account`,
headers: {
"authorization": `${this.finalscout.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
verticalresponse: {
type: "app",
app: "verticalresponse",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://vrapi.verticalresponse.com/api/v1/contacts?type=basic`,
headers: {
Authorization: `Bearer ${this.verticalresponse.$auth.oauth_access_token}`,
},
})
},
})