with Planhat and V1CE?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planhat: {
type: "app",
app: "planhat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.planhat.com/users`,
headers: {
Authorization: `Bearer ${this.planhat.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v1ce: {
type: "app",
app: "v1ce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.v1ce.co/contact/info`,
headers: {
"accept": `application/json`,
"authorization": `${this.v1ce.$auth.api_key}`,
},
params: {
contact_id: `${this.v1ce.$auth.contact_id}`,
},
})
},
})