The meeting ID.
A valid email address of the registrant.
Registrant's first name.
Registrant's last name.
async
(params, auths) => {
}
//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)