Does Webex Teams have an API for message searching?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 12:39 AM
Hi,
I was looking for a way to search messages using Webex Teams API, but I didn't find anything here: https://developer.webex.com/docs.
For instance:
- Search for any message that contains "foo" in any conversation.
- Search for any message that contains "foo" in a specific Webex room
Is this supported?
Thanks
- Labels:
-
Webex API
-
Webex Developer
-
Webex SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 03:01 AM
I agree that given a room ID, it is possible to retrieve the conversation history and scan it manually for "foo". But this is inefficient because (1) you have to send lots of requests to pull the whole conversation history; (2) you have to search by yourself in the pulled conversation, which can be long.
This inefficient workaround becomes completely impractical if your search is no longer limited to a single room. Because in this situation, you'll have to repeat the process above for each room separately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 12:51 PM
AFAIK, there is no such api.
You may build it your own by listing all messages https://developer.webex.com/docs/api/v1/messages/list-messages and searching each result for the desired text.
Feel also free to add a feature enhancement idea via https://ciscocollabcustomer.ideas.aha.io/
