I need to implement the following:
- Get all users of zoom from within Salesforce’s visualforce page.
- Retrieve the meeting information for the past month for each user acquired in 1.
- Retrieve all participants in the meeting acquired in 2.
Currently, I am implementing 1 and the following error is displayed.
Access to XMLHttpRequest at'https://api.zoom.us/v2/users?page_number=1&page_size=300&status=active' from origin'https://c.cs6.visual.force.com' has been blocked by CORS policy : Response to preflight request doesn't pass access control check: No'Access-Control-Allow-Origin' header is present on the requested resource.
I searched for the cause of the error, but it seems that Zoom’s REST API cannot make requests from clients.
How should I implement 1,2,3?
Which App Type (OAuth / Chatbot / JWT / Webhook)?
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Request URL / Headers (without credentials) / Body
- See error
Screenshots (If applicable)
Add any other context about the problem here.