with Motive and Capgo?
Retrieve user details based on specific criteria. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
motive: {
type: "app",
app: "motive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gomotive.com/v1/users`,
headers: {
Authorization: `Bearer ${this.motive.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
capgo: {
type: "app",
app: "capgo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.capgo.app/organization/`,
headers: {
"authorization": `${this.capgo.$auth.api_key}`,
},
})
},
})