11-14-2022 06:12 PM
I am trying to build a bot.
The first step would be that such bot sends a card every time it is added to a new room in webex. However in order to do that I need to be alerted every time that happens.
At first I thought that using a "joined" event on a "rooms" resource under the bot token would be fit, but I get a bad request message.
error = 'Invalid Webhook: The requested event type is not supported for this resource')"
Can anyone give me a hint in order to solve this?
Thanks in advance.
11-14-2022 10:05 PM - edited 11-15-2022 08:09 PM
I appreciate the information and advice you have shared.
Price Chopper Direct Connect Login
11-14-2022 08:33 PM
The rooms webhook resource only includes the 'created' and 'updated' event. You should use memberships:created webhook instead:
memberships | created | Someone joined a room that you're in or you've been added to a new room |
You can find more details about the available resource and events in our Webhook documentation: https://developer.webex.com/docs/api/guides/webhooks.
Hope this helps!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide