Note: I have put spaces in a couple of links, including emails because of the devforum restrictions on only have 2 links for a post.
I am sending in this to add a registrant to a particular recurring Zoom webinar, but it is only adding the next upcoming webinar session. Is there something that I am doing incorrectly?
If I pass in an ID for a different webinar session in the future, I am able to register for that meeting that I pass in. So I could look over the request and add the user multiple times, but I need to add a user for 8 webinar meetings, so that solution would require a cron job.
I am able to sign up for one webinar at a time, this is not a problem with my bearer token and account authentication. I am using a server-to-server OAuth app.
According to the docs it looks like I am doing everything correctly:
I have tried passing in registration_type as 1, 2, and 3.
post requested to
https://api.zoom.us/v2/webinars/968601239388/registrants?occurrence_ids=1686002400100,1686175201000
I have both permissions enabled that are suggested, which are: webinar:write:admin``webinar:write
Body:
{
“first_name”: “Jill”,
“last_name”: “Chill”,
“email”: “test @test.com”,
“settings”: {
“registration_type”: 3
}
}
I’ve not been sure where to put registration_type, I’ve tried in settings, and in the top level of the body, example:
{
“first_name”: “Jill”,
“last_name”: “Chill”,
“email”: “test @test.com”,
“registration_type”: 2
}
Here is the response body I get back:
{
“registrant_id”: “GAXT-wdMRnez8hXXXXXXX”,
“id”: 968623XXXXX,
“topic”: “WordPress test webinar”,
“start_time”: “2023-07-05T22:00:00Z”,
“join_url”: “https ://zoom.us/w/968623XXXXX?tk=xZ39pUqSvr15VAm2ultvyJjbjSx2SnH2XtGj7VYQQuk.DQMAAAAWjXGP9BZHQVhULXdkTVJuZXo4aDI4N0tkaWR3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA”,
“occurrences”: [
{
“occurrence_id”: “1686002400000”,
“start_time”: “2023-06-05T22:00:00Z”,
“duration”: 60,
“status”: “available”
}
]
}
Any suggestions and help would be helpful. Thanks!