with Zoho Meeting and JumpCloud?
The Zoho Meeting API lets you automate various aspects of managing online meetings and webinars. You can create, update, or cancel sessions, list all your meetings, fetch details of specific meetings, and more. Integrating the Zoho Meeting API with Pipedream enables you to connect your meeting management flow with other apps and services, streamlining your workflow and automating repetitive tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_meeting: {
type: "app",
app: "zoho_meeting",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://meeting.${this.zoho_meeting.$auth.base_api_uri}/api/v2/user.json`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_meeting.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jumpcloud: {
type: "app",
app: "jumpcloud",
}
},
async run({steps, $}) {
const now = new Date();
const tenDaysBefore = new Date(now.getTime() - (10 * 24 * 60 * 60 * 1000));
const startTime = tenDaysBefore.toISOString();
const data = {"service": ["all"], "start_time": startTime }
return await axios($, {
method: "post",
url: `https://api.jumpcloud.com/insights/directory/v1/events`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.jumpcloud.$auth.api_key}`,
},
data,
})
},
})