Deauthorization API

#1

I am trying to figure out how to comply with your deauthorization webhook call (https://marketplace.zoom.us/docs/api-reference/webhook-reference/app-events).

I am currently only storing the tokens that I receive when authorizing, so I can’t identify the connection from any of the data that are included in the payload here. I do make calls to the users endpoint, so I guess I might have the user id of the person who created the connection but I am not sure how to determine this. Do I need to make an additional call or am I missing something?

#3

Hi @kristian,

I am currently working on your issue, and will provide you with an update as soon as possible.

Thanks,

#4

Hi @kristian,

Thank you for patiently waiting.

You would need to store the user_id, account_id and the client_id as well.

Was I able to answer your question?

Thanks.

#5

Well, partly, thank you.

I am still not sure where or how I am supposed to obtain account_id and user_id. I suppose the client_id is the one I use to establish the oauth connection with. But in the response from https://api.zoom.us/oauth/token, I only get an access and a refresh token – no way to identify which user or account made the connection. Do I need to make a separate call for this? And if so, to which endpoint?

Thank you.

#6

Yes,

You can consider using the retrieve a specific user API

For the value of UserID, put me, and you should be able to get the UserID as well as the AccountID.

Let me know if this resolves your issue.

Thanks,
Ojus