# Can't retrieve full registrant data via API

**URL:** <https://devforum.zoom.us/t/cant-retrieve-full-registrant-data-via-api/86898>\
**Category:** Meetings\
**Tags:** api\
**Created:** [April 18, 2023, 10:21am UTC](https://devforum.zoom.us/t/cant-retrieve-full-registrant-data-via-api/86898 "2023-04-18T10:21:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 18, 2023, 7:28pm UTC](https://devforum.zoom.us/t/cant-retrieve-full-registrant-data-via-api/86898/2 "2023-04-18T19:28:57Z")

</div>

Hi @kodland ,

For “country”, the API is expecting the registrant’s [two-letter country code](https://developers.zoom.us/docs/api/rest/other-references/abbreviation-lists/) per documentation.

As far as the custom questions, I believe they need to be created in the portal first before adding registrants with those fields programmatically:

> [@Meeting registrants - non-required attributes are not being returned](https://devforum.zoom.us/t/meeting-registrants-non-required-attributes-are-not-being-returned/1686/11):
>
> Hi Dayal,&nbsp; I reached back out to our Engineering team. You would first need to create your custom question within the Zoom portal. Then you can use the custom question when adding a registrant within the API.&nbsp; &nbsp; Thanks

Let me know if this resolves things!

---

_[View the full topic](https://devforum.zoom.us/t/cant-retrieve-full-registrant-data-via-api/86898)._
