If I have several Zoom User’s UserId, with the description for Chat Messages\List User’s Chat Messages
I must provide to_contact parameter to get the chat messages with the contacts.
I can find the API Contacts\List User’s Contacts
However, this API can’t get contacts for each userId.
Is there other ways that can be used to get all chat messages for some userIds ?
Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question.
Checkout these related threads that may have the answer you are looking for:
We are evaluating Zoom against Webex Teams & MS Teams. We need to create incoming webhooks to post messages into chat channels. We have done this in all 3 products using the provided webhook apps (e.g. ‘Incoming Webhook’ app in Zoom Marketplace). Unfortunately, with Zoom, the notifications on messages sent via webhooks do not include any message content, just ‘app - incoming webhook’. So, the notifications aren’t very useful, unlike Webex/MS Teams, which show a preview of the message in the not…
How can I get the messages I send in a meeting?
Hi, how do I retrieve my meeting chat history thorugh zoom api?
If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.
What I want is to get the IM Chat messages (with specific UserId) not the meeting messages.
I wonder if there is any Zoom API that can be used based on my description.
You’re correct in that you’ll need either a to_contact or to_channel parameter to get a user’s chat messages.
But to clarify, we don’t have an endpoint specifically for querying a user’s chat message-specific contacts (to_contacts)—you will need to know who it is (contact) or which channel (to_channel) that you’re looking for (messages between the user or the contact/channel) when you query the
List User’s Chat Messages endpoint.
While you could query
potential contacts first, using the endpoint you’ve referenced (List Users Contacts), there is still an element of needing to know who or what they’ve been in contact with for context.
I hope this helps to clarify, but let me know if you still have questions.
Thanks for the reply!
My question is how can I get a UserId’s contacts ?
The API (List User’s Contacts) can’t be used with UserId.
The List Users Contact API will get the contacts of the owner of the access token, or in other words, whoever installed your app.
Just use their access_token, no need to pass in the userID.
So once the user installs your app,
use their access token to call the List Users Contact API.
Thank you for the reply!
This explains why the Zoom API GET /chat/users/me/contacts has “/me/” and it is used in User-managed app.
However, my current use case is we have a super user that uses the following Zoom API to get users.
For each of users, we would like to get his chat messages (with his contacts). That is why I asked how to get a UserId’s contacts ?
Thanks for explaining further. Unfortunately right now our
List Users Contacts API is only compatible with User Level OAuth apps.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.