import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoom_admin: {
type: "app",
app: "zoom_admin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zoom.us/v2/users/me`,
headers: {
Authorization: `Bearer ${this.zoom_admin.$auth.oauth_access_token}`,
},
})
},
})
Emits an event each time a sub-account is created in your master account
Emits an event each time a meeting starts in your Zoom account
Emits an event each time your master account or sub-account profile is updated
Emits an event each time a recording is ready for viewing in your Zoom account
Register a participant for a meeting. See the docs here
Register a participant for a webinar. See the docs here
Zoom Admin uses OAuth authentication. When you connect your Zoom Admin account, Pipedream will open a popup window where you can sign into Zoom Admin and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Zoom Admin API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://zoom.us/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://zoom.us/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://zoom.us/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}