I am developing a feature in which I wanted to know if user has installed(Authorized) my OAuth zoom app or not. Depending upon that i need to show connect and disconnect button to front end . I tried to implement webhooks (https://marketplace.zoom.us/docs/api-reference/webhook-reference). I couldn’t find appropriate Event types for it.
I am using Nodejs for backend and angular for frontend.
Please let me know how can i achieve
Thank you for reaching out to the Zoom Developer Forum. If you are looking to ensure that a user of your application is currently logged in, there are a couple of options. First, when you get an access token, and subsequently refresh the token, you can check to make sure the login was approved and store a cookie or session information. You can then keep track of what user is logged in.
Another option is to make a request to the
/v2/users/me endpoint from the Get a User API and check that the request returns a 200 OK status.
I hope that helps! Let me know if you have any questions.