Participant id (generated by me and passed in ZoomMtg.join) is changing to zoom generated id (WebSDK)

Description
I am using WebSDK. I am passing system-generated participant ids (which I am using to identity users in my application) to ZoomMtg.join method “participantId:”. When I get the participant list I get two or more records for each participant and a record show Id which I am passing and rest shows zoom generated ids. Why zoom is replacing the id which I have provided?

After meeting ends, I get the participant’s list to analyze the data and prepare a report, but as I mentioned above the id is changing to zoom generated id. Here I am sharing an example.

participants": [
    {
        "id": "oZxlA8SlQ********",
        "user_id": "100664320",
        "name": "Jai",
        "user_email": "",
        "join_time": "2020-05-17T07:51:46Z",
        "leave_time": "2020-05-17T07:56:42Z",
        "duration": 296,
        "attentiveness_score": ""
    },
    {
        "id": "UserA******",
        "user_id": "117441536",
        "name": "Jai",
        "user_email": "",
        "join_time": "2020-05-17T07:57:00Z",
        "leave_time": "2020-05-17T07:57:12Z",
        "duration": 12,
        "attentiveness_score": ""
    },
    {
        "id": "DY7xCGT*********",
        "user_id": "134218752",
        "name": "Jai",
        "user_email": "",
        "join_time": "2020-05-17T07:57:12Z",
        "leave_time": "2020-05-17T07:57:41Z",
        "duration": 29,
        "attentiveness_score": ""
    }
]

“UserA******” is the id, which I passed at the time of join “ZoomMtg.join”

Which version?
1.7.7

Please help and guide me.

Thanks in advance.

Hey @namrata,

Thanks for sharing this, we will investigate and get back to you. (CS-1798)

-Tommy

Hi Tommy,

Any update?

It is very urgent.

Hey @namrata,

After speaking with the Web SDK engineers, the Web SDK participantId field is deprecated and no longer supported. We will remove it in the documentation.

Use the userEmail and userName field to track users instead.

Thanks,
Tommy

Hi,

Thanks for quick reply.

Actually, I tried user email too. I passed the email address that is added in our application, I am not sure if our clients have registered accounts at zoom, I hope that won’t be necessary for email, is it?

So, I passed email addresses but when I fetched data by API then the user email field was empty.

Also, are you removing support for ParticipantId from only web or this will be deprecated for mobile too?

Please confirm.

Thanks.

Hey @namrata,

As long as you pass in an email, it should show up in the participant reports endpoint.

Are you referring to the Mobile SDK?

Thanks,
Tommy

Thanks tommy for your confirmation regarding email addresses. As I shared earlier, I am also passing email addresses but participant’s api is not returning them.

Today I tried again with an example, but still, no luck.

Code to join the meeting:

 ZoomMtg.init({
    leaveUrl: leaveUrl,
    isSupportAV: true,
    disableInvite: true,
    disableCallOut: true,
    audioPanelAlwaysOpen: true,
    success: function () {
              ZoomMtg.join(
               {
                   meetingNumber: meetingId,
                   passWord: password,
                   userName: name,
                   participantId:id,
                   userEmail: email,
                   signature:signature,
                   apiKey: key,
                       success: function (res) {
                              $('#nav-tool').hide();
                       },
                       error: function (res) {
                             console.log(res);
                       }
                });
             },
               error: function (res) {
                   console.log(res);
          }
});

https://api.zoom.us/v2/report/meetings/{meetingId}/participants?page_size=30
Above api returns
** “user_email”: “”,**

 {
    "id": "********",
    "user_id": "16779264",
    "name": "Suresh Oberoy",
    "user_email": "",
    "join_time": "2020-06-04T09:52:34Z",
    "leave_time": "2020-06-04T09:58:11Z",
    "duration": 337,
    "attentiveness_score": ""
 },

https://api.zoom.us/v2/metrics/meetings/{meetingId}/participants?type=past&page_size=30
This does not return email address

 {
    "id": "3_150",
    "user_id": "16779264",
    "user_name": "Suresh Oberoy",
    "device": "Web",
    "ip_address": "157.47.250.223",
    "location": "Jaipur (IN)",
    "network_type": "Others",
    "data_center": "India (MB Top)",
    "connection_type": "UDP",
    "join_time": "2020-06-04T09:52:34Z",
    "leave_time": "2020-06-04T09:58:11Z",
    "share_application": false,
    "share_desktop": false,
    "share_whiteboard": false,
    "recording": false,
    "pc_name": "",
    "domain": "",
    "mac_addr": "",
    "harddisk_id": "",
    "version": "4.0.934.0519.bdab9356",
    "leave_reason": "Suresh Oberoy left the meeting.<br>Reason: left the meeting."
 },

If you can check at your end, I am sharing the meeting id here “83373606024

About ParticipantId , yes I am referring the Mobile SDK.

Hope the issue I am getting is clear.

Please help and guide further.

Thanks.