Hello,
I am trying to follow the documentation on how to use your api, to add panelists to a webinar.
I am working with an excel file provided by one of the organizers. The file contains a list of names and email addresses.
I want to create a web form that the user can use to upload the excel file, then programmatically take the excel data and convert it into an array to pass to your panelists endpoint so that the panelists can be added via this form rather than having to enter one by one by the webinar organizer.
I visited this URL: https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistcreate
At the bottom of the page, there is a form to request an access token, I provide the webinar id, then click on the get access token button, and a modal window pops up.
In this window I am asked to provide the client id, and client secret plus the auth and token urls that are already populated.
After I do this, I do obtain the access token. And can see the generated code:
var data = excelData; <- I would pass my array with the excel data here
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener(“readystatechange”, function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}});
xhr.open(“POST”, “https://api.zoom.us/v2/webinars/943%209575%203143/panelists”); <- call zoom panelists endpoint
xhr.setRequestHeader(“content-type”, “application/json”);
xhr.setRequestHeader(“authorization”, “Bearer eyJhbGciOiJIUzUxMiIsInYiOiIyLjAiLCJraWQiOiIxMDU2ZGY2Ny0yNjhiLTQ4MjktODdmYi1jMjJlODNhNDA3NzkifQ.eyJ2ZXIiOiI2IiwiY2xpZW50SWQiOiJYaU1ZZGhQUjI2ZFZHS2U4ODNYY3ciLCJjb2RlIjoiT1lIZHdUN0h5cF9MOEY5U1pWSVRWV0k5dE40cVBDX0pBIiwiaXNzIjoidXJuOnpvb206Y29ubmVjdDpjbGllbnRpZDpYaU1ZZGhQUjI2ZFZHS2U4ODNYY3ciLCJhdXRoZW50aWNhdGlvbklkIjoiYWQ0ZmU4YzQ3ZWQxZjk3ODE3ZDc5MDdlOWUzM2M4MTQiLCJ1c2VySWQiOiJMOEY5U1pWSVRWV0k5dE40cVBDX0pBIiwiZ3JvdXBOdW1iZXIiOjAsImF1ZCI6Imh0dHBzOi8vb2F1dGguem9vbS51cyIsImFjY291bnRJZCI6IlpTSk9iYnk5UkUyLXZuQWF5U3c0WkEiLCJuYmYiOjE1OTIyNTMwNDAsImV4cCI6MTU5MjI1NjY0MCwidG9rZW5UeXBlIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNTkyMjUzMDQwLCJqdGkiOiJiMWI3NjhjZC02OTVjLTQwMzYtOTQwNC1mMjUwN2NkZTc0NTIiLCJ0b2xlcmFuY2VJZCI6MH0.X-a5hlSEs7hCc–8kGTh8mW-NtlDTUfOswhErHwAvVa251MQVJ5PdxLh7v1B-B4qNC25B3NH5IZOvrNeK0AATg”);
xhr.send(data)
My question is, what keys would I have to provide when I call your end point via my web app (combination of JavaScript and C#/ASP.Net) In the generated code, I only see webinar id, and what you refer to as “Bearer” which I am assuming is the access token that I generated previously. Will I also need to provide the Client ID, Client Secret, Authorize URL, Access Token URL, Client Authentication?
Will I have to create an access token each time I want to run my web app to process a new list of panelists (excel)?
The documentation is not clear about these steps, at least not for me.
Are you able to provide some direction that will allow me to continue my development of this web app?