cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
330
Views
1
Helpful
2
Replies

Does Webex Teams have an API for message searching?

ihirsche
Cisco Employee
Cisco Employee

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

2 Replies 2

ihirsche
Cisco Employee
Cisco Employee

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.

dtibbe
VIP
VIP

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/