# Unable to post the registration details correctly to the report using API

**URL:** <https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893>\
**Category:** API and Webhooks\
**Created:** [May 9, 2021, 5:28am UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893 "2021-05-09T05:28:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![barbara.lam](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbara.lam/32/16191_2.png) [@barbara.lam](https://devforum.zoom.us/u/barbara.lam)\
**Post date:** [May 9, 2021, 5:28am UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893/1 "2021-05-09T05:28:39Z")

</div>

**Description**  
When using this api ([https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate](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](http://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.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 10, 2021, 8:06pm UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893/2 "2021-05-10T20:06:09Z")

</div>

Hi @barbara.lam,

In order for these fields to be accessible via API, they will need to be enabled for the Webinar under the Questions tab in the UI:

> **[Customizing webinar registration](https://support.zoom.us/hc/en-us/articles/202835649-Webinar-Registration-Customization#h_24deba14-8b6d-4ab6-b670-c0127957beb5)**
>
> Overview
> You can customize the registration process for webinars, such as approving attendees, enabling email notifications for registrations, and adding registration questions.
> You can also custom...

Once enabled, this should show up.

Let me know if it helps. 🙂  
Will

---

<div class="post-metadata">

**Author:** ![barbara.lam](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/barbara.lam/32/16191_2.png) [@barbara.lam](https://devforum.zoom.us/u/barbara.lam)\
**Post date:** [May 11, 2021, 8:30am UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893/3 "2021-05-11T08:30:16Z")

</div>

Thank you! It is working now

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [May 12, 2021, 4:53pm UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893/4 "2021-05-12T16:53:12Z")

</div>

Glad that did the trick! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 12, 2021, 2:53am UTC](https://devforum.zoom.us/t/unable-to-post-the-registration-details-correctly-to-the-report-using-api/49893/5 "2021-06-12T02:53:43Z")

</div>

Closed on June 12, 2021, 2:53am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
