Description
When using this api (https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate) to add registrants to a webinar, it works all well EXCEPT that when I generate the registration report. It can only capture the first_name, last_name and email.
Error
/
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Which Endpoint/s?
/webinars/{webinarId}/registrants
How To Reproduce (If applicable)
Steps to reproduce the behavior:
app.post("/complete", (req, res) => {
first_name = req.body.first_name;
last_name = req.body.last_name;
email = req.body.email;
country = req.body.country;
phone = req.body.phone;
org = req.body.org;
custom1_title = “text”;
custom1_value = req.body.custom1;
custom2_title = “text”;
custom2_value = req.body.custom2;
axios({
url: “”,
method: “post”,
headers: {
“User-Agent”: “Zoom-api-Jwt-Request”,
“content-type”: “application/json”,
Authorization: Bearer ${token}
,
},
data: {
first_name: first_name,
last_name: last_name,
email: email,
phone: phone,
country: country,
org: org,
custom_questions: [
{
title: custom1_title,
value: custom1_value,
},
{
title: custom2_title,
value: custom2_value,
},
],
},
responseType: “json”,
}).catch(function (err) {
// API call failed…
console.log("API call failed, reason ", err);
});
});
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.