cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
5
Helpful
2
Replies

Finding correct webhook resource/event for cardbot

JuanJacobo
Cisco Employee
Cisco Employee

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.

 

2 Replies 2

neskemiquel
Level 1
Level 1

I appreciate the information and advice you have shared.
Price Chopper Direct Connect Login

Rudrakshi
Cisco Employee
Cisco Employee

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!



Best regards,
Rudrakshi Srivastava