Description
I’m trying to programmatically add attendees to webinars. I can’t get past the very first hurdle: requesting a user authorization token. I’ve been trying for days to do so using RestSharp, but I invariably get the same error:
Error
{“reason”:“Invalid client_id or client_secret”, “error”:“Invalid_client”}
Unauthorized
To say Zoom’s documentation is unhelpful would be unwarrantedly generous.
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Yes, I’ve been through the guide a few times. Sadly it hasn’t helped. I still haven’t been able to decipher how to request a token. I’ve also read the thread you linked, also repeatedly. Haven’t managed to glean anything useful from that either.
This is the first time I’ve tried to do anything with REST, let alone Zoom’s API, so it may be that there’s something I don’t understand on an even more fundamental level than the documentation here covers.
Thanks for checking those details out. In order to take a closer look, can you please send us an email at developersupport@zoom.us with the following details:
The email address or user ID of the OAuth App owner (the app you’re using to authenticate your requests)
The full request URL and authorization header you’re using when requesting an access token:
I think I’m getting an idea what the problem is here. At no point is the end user ever going to (or at least is ever intended to go to) https://zoom.us/oauth/authorize to receive an authorization code.
The idea behind what I’m doing is this: we’re using Zoom to enable remote participation in certain public meetings. When the user goes to a certain web page & signs up to speak at the public meeting, I want to - with absolutely no further involvement of the user - create a new attendee for a meeting which will have been previously created. They shouldn’t have to follow a link or do anything else at all.
I tried making a request to https://zoom.us/oauth/authorize accompanied by the required three parameters, but that got me no response at all. As in all I got back was literally “0”. Just the number 0, nothing else.