Accessing a User's JID

Hi there. I have created a chatbot via incoming webhook but I am trying to figure out how to access a user’s JID without having to get an access token for the api call (since I am not using an actual registered application). Are there any ways to access this?

Hi @veeresh.neralagi , try the first method outlined here: https://devsupport.zoom.us/hc/en-us/articles/360060332871-How-to-get-a-User-JID-or-Channel-JID

Thank you,
Gianni

Hi Gianni,

This link no longer works. Is there updated documentation / reference material for a user’s JID?

Hi @cody.wolter ,

  1. Authorize your chatbot: Authorize

Tips for getting to_jid, account_id, and user_jid values for easy testing

  • The to_jid, account_id, and user_jid (if applicable) are present in the custom welcome message, slash command, or UI element webhook events.
  • Channel JID conventions are: CHANNEL_ID@conference.xmpp.zoom.us.
  • User JID conventions are: USER_ID@xmpp.zoom.us.
  • You can also get the account_id, user_id, and channel_id (if applicable) via:
    • Your account_id is shown in the server to server app type build flow.
    • Your user_id can be found by JWT decoding the chatbot token → body → uid.
    • Your user_id can be found in the Zoom web portal when you view a user.
    • Your user_id is returned from the Get User/s API.
    • A channel_id can be found by JWT decoding the channel URL’s (copy channel URL in the Zoom Client) path → header → sid
    • A channel_id can be found in the Zoom web portal when you view a channel.
    • A channel_id is returned from the Get Channel/s API.

Documentation is here.

1 Like