# Null Registrant ID For Participants Via Zoom API

**URL:** <https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656>\
**Category:** Meetings\
**Tags:** api\
**Created:** [December 6, 2023, 3:52pm UTC](https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656 "2023-12-06T15:52:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom83](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom83/32/54312_2.png) [@zoom83](https://devforum.zoom.us/u/zoom83)\
**Post date:** [December 6, 2023, 3:52pm UTC](https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656/1 "2023-12-06T15:52:16Z")

</div>

#### I’ve encountered an issue with the GetAttendanceReportFromMeeting method, specifically regarding the registrant\_id field being returned as null for participants.

Despite making the necessary API requests and handling pagination to gather participant data, the registrant\_id field for participants is consistently null, which is causing discrepancies in our reports.  
The specific API endpoint being used in the code is:  
\_config.ZoomApiUrl + “report/meetings/” + encodedMeetingId + “/participants?include\_fields=registrant\_id”  
Could anyone please assist me in understanding why the registrant\_id field might be null for participants fetched through the API? Have there been any recent changes or additional steps required to retrieve this information accurately? Any guidance or insights you could provide would be greatly appreciated.  
Thank you.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 7, 2023, 5:54pm UTC](https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656/2 "2023-12-07T17:54:22Z")

</div>

Hi @zoom83  
thanks for reaching out to us and welcome to our community, I am happy to help here!  
The registrant\_id will only return data if the participants were registered to the meeting and then joined the meeting logged into the account they used for registration.

---

<div class="post-metadata">

**Author:** ![zoom83](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zoom83/32/54312_2.png) [@zoom83](https://devforum.zoom.us/u/zoom83)\
**Post date:** [December 8, 2023, 6:32pm UTC](https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656/4 "2023-12-08T18:32:13Z")

</div>

Hi Elisa,  
Thank you for the clarification regarding registrant\_id.  
I have a follow-up question regarding the participant’s data retrieved from the API. In the retrieved JSON for the participant details, I noticed that the “user\_email” field appears as “\*\*\*\*\*\*” instead of displaying the actual user email address. However, the zoom report for this webinar exported from Zoom has the list of email addresses.

API: [https://api.zoom.us/v2/past\_meetings/{webinarId}/participants](https://api.zoom.us/v2/past_meetings/%7BwebinarId%7D/participants)  
Response example:

```auto
{
  "participants": [
    {
      "name": "",
      "user_email": " ******",
      "join_time": "2023-10-31T15:45:20Z",
      "leave_time": "2023-10-31T17:06:37Z",
      "duration": 4877,
      "attentiveness_score": "",
      "failover": false,
      "status": "in_meeting",
      "customer_key": ""
    }
  ]
}

```

Could you please explain why the email addresses appear masked in this manner in the API response?  
Thank you once again for your ongoing support.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 11, 2023, 3:16pm UTC](https://devforum.zoom.us/t/null-registrant-id-for-participants-via-zoom-api/99656/5 "2023-12-11T15:16:12Z")

</div>

Hi @zoom83  
Happy to help here again!  
If the participants that are joining the meeting do not belong to your account and have not signed into their account to join the meeting, it is expected that you will not get the user\_email back in your response (because they are joining as guests)
