# Cannot custom\_questions for a registrant via the API

**URL:** <https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855>\
**Category:** Meetings\
**Created:** [July 1, 2024, 2:49pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855 "2024-07-01T14:49:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 1, 2024, 2:49pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/1 "2024-07-01T14:49:40Z")

</div>

I am trying to add my unique user IDs to the Zoom registration via the custom\_questions , but when I pull the data the array is blank. I looked at the zoom forums and this issue appears to have been presented but not solved? How can I add custom\_questions to the user registration via the API?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 1, 2024, 4:38pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/3 "2024-07-01T16:38:14Z")

</div>

Hi @mdickens ,

Can you please share an example of the request you’re passing through compared to [the documentatio](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate)n? It would help to also link the dev forum post you’re referencing.

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 1, 2024, 7:54pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/4 "2024-07-01T19:54:35Z")

</div>

Thanks Gianni!

I am referring to this forum post specifically: [On Create registrant, comments, custom\_questions or other data isnt saved or cant be accessed](https://devforum.zoom.us/t/on-create-registrant-comments-custom-questions-or-other-data-isnt-saved-or-cant-be-accessed/80164)

And, upon further research, I’ve noticed the issue is different than what I initially observed it to be.

Originally, I was under the impression that the `custom_questions` field was having a specific issue and not storing the information submitted to it via the Zoom API. That is, when I pull the registrants info via the API, the `custom_questions` field returns an empty array:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/4/046f486be520966f2af7260e0884b94fc33d05ec.png)

However, upon further review, it has come to my attention that fields that _were_ previously storing data are no longer doing so. Specifically, the `"phone"` and `"org"` values are not being populated even though they had been previously. During my investigation I remembered that in the past, when` "org"` and `"phone"` were not present, I was able to fix this issue by sending a PATCH request to the meeting itself (_meetings/{meeting\_id}/registrants/questions_) submitting `"org"` and` "phone"` in an array called `"questions"` :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/2/f298199d49729809ef7dbb9ddf09d00fc7ed2dac.png)

As you saw above, now `"phone"` and `"org"` are also missing from the Zoom API return. What’s more is if I use the exact same function/code to register for a meeting that was created a few months ago, the `"phone"` and `"org"` values are properly filled. Any ideas as to why that might be?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 3, 2024, 3:24pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/5 "2024-07-03T15:24:47Z")

</div>

Hi @mdickens ,

> [@mdickens](#):
>
> However, upon further review, it has come to my attention that fields that _were_ previously storing data are no longer doing so. Specifically, the `"phone"` and `"org"` values are not being populated even though they had been previously. During my investigation I remembered that in the past, when` "org"` and `"phone"` were not present, I was able to fix this issue by sending a PATCH request to the meeting itself (_meetings/{meeting\_id}/registrants/questions_) submitting `"org"` and` "phone"` in an array called `"questions"` :

I am not sure why the change, but as it currently stands, the example behavior you shared is not documented as being supported. The validated endpoint is `POST /meetings/{meetingId}/registrants` . “Questions” is not supported as a parameter in the url. Can you confirm if it is accepted when passed through the request body as documented?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/5/a55b4cde4e5b744f737fb82e01088ccea47b758e.png)

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 8, 2024, 4:42pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/6 "2024-07-08T16:42:47Z")

</div>

Sorry for lack of clarity, that’s not quite what I meant.

I am `POST`ing the custom\_questions as specified in the API documentation and getting a `200` response:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/e/8e9a7e0d99157a490000ba5fe9843975a4be7342.png)

**However** , the `custom_questions` field returns a blank array when I `GET` the registrants:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/f/afc47a56a18cc198e2f3e956511838720abbb0ff.png)

You’ll notice that I tried submitting my variable `mha_uuid` in both the `comments` field and `custom_questions` field to no avail. This is how I initially noticed that `phone` and `org` are also no longer working.

ETA: It’s worth noting that the endpoint I’m sending the questions to is `meetings/{meetingId}/registrants/questions`

P.S. _I also reverted my function to not send `comments` or `custom_questions` just to make sure that these changes weren’t causing the issue and the `phone` and `org` fields were still unpopulated._

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 8, 2024, 7:56pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/7 "2024-07-08T19:56:09Z")

</div>

> [@mdickens](#):
>
> ETA: It’s worth noting that the endpoint I’m sending the questions to is `meetings/{meetingId}/registrants/questions`

Hi @mdickens , it does not seem like this endpoint supports POST with questions in the url. It is not documented which is perhaps reason for the change in behavior you’re seeing.

However, please POST to the endpoint [I originally linked](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate) as it is documented. That url does not take `questions` in the url itself, but you see if you can successfully add the custom questions as documented.

You can [use PATCH to update](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantQuestionUpdate) `/meetings/{meetingId}/registrants/questions`

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 9, 2024, 3:59pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/8 "2024-07-09T15:59:29Z")

</div>

Gianni,

I am and have always been `POST`ing and `PATCH`ing to the URLs as you specified. In the screenshot in my previous comment, you can see that I am making a `POST` request to `/meetings/{meetingId}/registrants` (the way this code has been for months at least), and here is a screenshot of where I am creating a meeting and then sending patch requests to update the meeting:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/2/c2c41e76640c2ef1e045b6f193bc81d302b32f70.png)  
While I have added “custom\_questions” to the request, there have been no changes to the structure. That is, I have always been sending the update to the questions as PATCH request. I tried again to create a new meeting using this previously working script and got the same results when I downloaded my registrant data:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/2/42b485d1c299d971715654d65d94e986b3defe47.png)

Given that I am successfully creating the meeting (`POST(users/{userId}/meetings)`), adding livestream keys (`PATCH(meetings/{meetingId}/livestream)`), updating the meeting questions (`PATCH(meetings/{meetingId}/registrants/questions)`), and then adding the user as a registrant with the “phone” and “org” parameters in my request (`POST(meetings/{meetingId}/registrants)`), this issue appears to be something that is happening within Zoom. Again: this same, _exact_ code was working in the past (which I have verified after my attempt to add `custom_questions` and reverted to before I made these changes to verify as well). Please help me investigate what is happening with these requests when I am sending `"phone"` and `"org"`: **what does Zoom see in the logs of these requests that are preventing the data from being properly appended to the user’s registrant data**?

Thanks again!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 9, 2024, 5:38pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/9 "2024-07-09T17:38:01Z")

</div>

Hi @mdickens ,

Thank you for clarifying. I understand thoroughly now.

Can you please provide the following in the private message I am initiating with you in response to this post (check your notifications):

- dev email associated with credentials making API request
- client id
- API response zm-tracking-ids (found in the response headers) for all requests
- screenshots reproducing the unexpected behavior organized in exact order of steps

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 15, 2024, 7:19pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/10 "2024-07-15T19:19:51Z")

</div>

Hi @mdickens , investigating internally (ZSEE-135359). I will share updates as they become available!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 23, 2024, 7:53pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/11 "2024-07-23T19:53:12Z")

</div>

Hi @mdickens , upon closer look, “value” for custom\_questions takes a string in that field. Could you please retry your request with this adjustment?

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 24, 2024, 1:51pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/12 "2024-07-24T13:51:39Z")

</div>

I’m not sure what you mean as “value” is not one of the options specified in the documentation:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/3/a3e37288aa4ce8d2a20c63ed7e57fae0a32a9240.png)  
Moreover, I am less concerned with the “custom\_questions” than the fact that “org” and “phone” are no longer being filled as these are critical to our infrastructure. At minimum, Zoom should be storing the user’s phone numbers when they are submitted.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 24, 2024, 3:45pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/13 "2024-07-24T15:45:36Z")

</div>

Hi @mdickens ,

I was referring to the following for [add a meeting registrant](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate), the endpoint I understood to be the issue:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/8/687614834128020effcebf106f760da4bb26a9be.png)

Given you had not sent value as a string, I believe this is why you received the following:

> [@mdickens](#):
>
> **However** , the `custom_questions` field returns a blank array when I `GET` the registrants:  
> ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/f/afc47a56a18cc198e2f3e956511838720abbb0ff.png)
> 
> You’ll notice that I tried submitting my variable `mha_uuid` in both the `comments` field and `custom_questions` field to no avail. This is how I initially noticed that `phone` and `org` are also no longer working.

> [@mdickens](#):
>
> I’m not sure what you mean as “value” is not one of the options specified in the documentation:
> 
> ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/3/a3e37288aa4ce8d2a20c63ed7e57fae0a32a9240.png)

Please link this endpoint directly.

> [@mdickens](#):
>
> Moreover, I am less concerned with the “custom\_questions” than the fact that “org” and “phone” are no longer being filled as these are critical to our infrastructure. At minimum, Zoom should be storing the user’s phone numbers when they are submitted.

If you hard code the string values for “phone” and “org”, do you get the same results?

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 25, 2024, 1:37pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/14 "2024-07-25T13:37:54Z")

</div>

You mean hardcode the registrants phone and org? Or something else?

Link to documentation: [Zoom Meeting API](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantQuestionUpdate)

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 26, 2024, 6:22pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/15 "2024-07-26T18:22:52Z")

</div>

Hi @mdickens , yes since in your code you’re passing them through a variable. If you hard code that info for the request, I want to see if you are still having an issue since we cannot reproduce the behavior you’re experiencing.

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 29, 2024, 3:44pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/16 "2024-07-29T15:44:50Z")

</div>

Here is my hardcoded request:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15251b9f00a332308aa9727ccf1f4625a5419619.png)

Here is the tracking id for it:  
`'x-zm-trackingid': 'v=2.0;clid=us02;rid=WEB_62123d9293adb67e35457bffd216a216'`

Here is the registrant data:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/a/ba04d11e2566be9981b77666e3dd9ce30383b84d.png)

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [July 30, 2024, 8:35pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/17 "2024-07-30T20:35:01Z")

</div>

Hi @mdickens , waiting to hear back. Thanks for sending this!

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [July 31, 2024, 1:22pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/18 "2024-07-31T13:22:17Z")

</div>

Happy Wednesday!

Just following up on this.

---

<div class="post-metadata">

**Author:** ![alyxjames1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alyxjames1/32/49417_2.png) [@alyxjames1](https://devforum.zoom.us/u/alyxjames1)\
**Post date:** [July 31, 2024, 6:37pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/19 "2024-07-31T18:37:55Z")

</div>

To add custom questions to a registrant via the API, ensure you are correctly formatting the `custom_questions` array in your request. If the array is blank upon retrieval, double-check your API call and the structure of your request payload. For detailed guidance, refer to Zoom’s API documentation or support.

For more detailed instructions, visit [Plan Piste Verbier](https://www.guides-verbier.com/en/).

---

<div class="post-metadata">

**Author:** ![mdickens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mdickens/32/33439_2.png) [@mdickens](https://devforum.zoom.us/u/mdickens)\
**Post date:** [August 5, 2024, 3:09pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/20 "2024-08-05T15:09:27Z")

</div>

Happy Monday!

Just following up on this.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [August 5, 2024, 8:12pm UTC](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855/21 "2024-08-05T20:12:40Z")

</div>

Hi @mdickens thanks for your patience. I was out of office. We are not able to reproduce the behavior you’re seeing. See test below:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/d/2d3180cd0931a6d4ae6c16d831e5dabf5325b68b.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/d/ed5c98848ef452e5afafaf63c5c456ee40b3908f.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d63945f351168069478a8abb9911f4976ee2fafc.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/4/54591b5f7adc19039cf4130f6341a2259fb6ab58.png)

What do you see in the web portal?

[Next page](https://devforum.zoom.us/t/cannot-custom-questions-for-a-registrant-via-the-api/112855.md?page=2)
