Zoom - Add Meeting Registrant
@sergio
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
zoom_add_meeting_registrant
Registers a participant for a meeting.
auth
(auths.zoom)
params
Meeting id

The meeting ID.

 
string ·params.meeting_id
Email

A valid email address of the registrant.

 
string ·params.email
First name

Registrant's first name.

 
string ·params.first_name
Last name

Registrant's last name.

 
string ·params.last_name
Optional
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
}
35
//See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate
const config = {
  method: "post",
  url: `https://api.zoom.us/v2/meetings/${params.meeting_id}/registrants`,
  params: {
    occurrence_ids: params.occurrence_ids
  },
  data: {
    email: params.email,
    first_name: params.first_name,
    last_name: params.last_name,
    address: params.address,
    city: params.city,
    country: params.country,
    zip: params.zip,
    state: params.state,
    phone: params.phone,
    industry: params.industry,
    org: params.org,
    job_title: params.job_title,
    purchasing_time_frame: params.purchasing_time_frame,
    role_in_purchase_process: params.role_in_purchase_process,
    no_of_employees: params.no_of_employees,
    comments: params.comments,
    custom_questions: typeof params.custom_questions == 'undefined' ? params.custom_questions : JSON.parse(params.custom_questions),
    },
  headers: {
    Authorization: `Bearer ${auths.zoom.oauth_access_token}`,        
    "Content-Type": "application/json"
  }
}
return await require("@pipedreamhq/platform").axios(this, config)