
In the Get Users response body, you will find the `id` of the user, which you can use to create a user_jid by concatenating `id` with For example, " In the Get Channels response body you will find the `id` of the channel, which you can use to create a channel_jid by concatenating `id` with For example, " more complex, this method allows you to retrieve the required properties to send a Chatbot message without first receiving user action.In the Get User response body, you will find the `jid` of the user.Note: in order to call the Get User, Get Users, and or Get Channels APIs, you need to use an OAuth Access Token as described here.

(Zoom Chat messaging the Chatbot directly)Īll of the above scenarios send the following request body (example) to your Bot Endpoint URL: Īnother way you can get a Channel JID or User JID, is with the Get User, Get Users, and or Get Channel APIs. The toJid is where the action came from, which can be a Zoom Chat Channel, a 1:1 Zoom Chat Message (essentially the same as a Zoom Chat Channel), or when messaging the Chatbot directly. The userJid is the user who made the action. When a user sends a slash command, messages your Chatbot directly, or commits an action like pressing a button on a Chatbot, the userJid and toJid will be sent to your Bot Endpoint URL.

The easiest way to get a Channel JID or User JID is from a Slash Command or UI Element Webhook Event that is sent to your Bot Endpoint URL. How to get a Channel JID or User JID: Method 1.

The to_jid can be the JID of a Zoom Chat Channel, or Zoom Chat User. In order to Send a Chatbot Message, you need to supply the to_jid.
