01-28-2025 07:16 AM
Hello Webex Community,
I am trying to set up a webhook for a bot account to monitor all messages in a Webex space. My use case is to process every message posted in the space, regardless of whether the bot is tagged or mentioned.
I created a webhook with the following details:
messages
created
roomId=<room_id>
(specific room ID is added to target a particular space)The webhook is successfully created, and I confirmed it points to my application's endpoint.
The bot/service account was added to the target Webex space to ensure it can interact with the space.
The webhook should trigger for all messages posted in the specified Webex space, regardless of whether the bot account is mentioned.
roomId
is specified in the webhook filter.all
to attempt capturing all messages, but it didn’t resolve the issue.spark:messages_read
spark:rooms_read
Any guidance or clarification on how to enable webhooks for all messages in space would be greatly appreciated.
Thank you in advance for your support!
01-31-2025 06:55 AM
@shikhasr the behaviour that you are describing is expected and it is already documented herehttps://developer.webex.com/docs/bots#differences-between-bots-and-people . Bots can only see messages in group spaces, where they are mentioned. There is no way around this. If you need access to all messages in a space, you would need to use an OAuth Integration https://developer.webex.com/docs/integrations .
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