Error with Batch Registrants - Empty Array


Batch Registrants api sends an empty array as a response

POST Request
/meetings/{meetingId}/batch_registrants

Description
We have a business plus plan with Zoom. I’m sending a POST Request to Zoom via the endpoint mentioned above. The request is being sent and a response is also being received with Status Code 201. However, the expected response should be an array named registrants with values like join_url, registrant_id, etc. Instead, I just receive an empty array registrants []. Why is this happening? I need the registrant_id to update the zoomId value for my User database. Below is the code:

const registration = await request.fetch(`https://api.zoom.us/v2/meetings/${meetingId}/batch_registrants`, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json',
                'Authorization': 'Bearer ' + zoomAuth.body.access_token
            },
            body: JSON.stringify({
                auto_approve: true,
                registrants_confirmation_email: true,
                registrants: [
                	{email: alex.wilson@maildrop.cc, first_name: 'Alex', last_name: 'Wilson'},
                    {email: charles.jones@maildrop.cc, first_name: 'Charles', last_name: 'Jones'},
                    {email: amy.watson@maildrop.cc, first_name: 'Amy', last_name: 'Watson'}
                ]
            })
        })

        console.log('ZOOM REGISTRATION RESPONSE', registration)

Expectation?
Response is

[ 
  "registrants": [ 
    { "join_url": link1, "registrant_id": 23443 }, 
    { "join_url": link2, "registrant_id": 23444 }, 
    { "join_url": link3, "registrant_id": 23445 } 
  ] 
]

Problem?
Response is

[ 
  "registrants": [] 
]
1 Like

We’re having the same issue. The bulk endpoint only returns an empty registrants array. In the dashboard the also no registrants for the meeting are visible.

When we call the /bulk_registrants endpoint more than three times we don get the:

{“code”:429,“message”:“You have exceeded the daily rate limit of (3) for meeting Perform batch registration API requests for the registrant (example@email.com). You can resume these API requests at GMT 00:00:00.”}

When listing all registrants for the meeting example@email.com is also not in the response (just empty array). Could a Zoom dev elaborate on what goes wrong here?

@sshah.seasi how did you resolve the issue? Or what work around did you apply?

We’re currently adding them 1 by 1 via the non-bulk endpoint (POST /meetings/{meetingId} /recordings/registrants ). As we seem not be able to get the bulk endpoint working in a way we expect, hence always giving back an empty array, no errors and no registrants added.

Not ideal in anyway, but works for now and keeps the train running. If anyone has more insights or does get it working, I’m really curious.