with Clio - Australia and TopMessage?
Emit new event when the state of a bill has changed in Clio. See the documentation
Emit new event when a new activity is created in Clio. See the documentation
Emit new event when a new document is created. See the documentation
Updates an existing matter in Clio. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio_australia: {
type: "app",
app: "clio_australia",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://au.app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio_australia.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
topmessage: {
type: "app",
app: "topmessage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.topmessage.com/v1/messages`,
headers: {
"x-topmessage-key": `${this.topmessage.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})