04-28-2022 02:04 AM
Query from @daniel Desch at #webex4devs space
Hi Support Team,
I've created my first bot and posting messages is working fine.
But GET messages of a room does only work with my personal access token, not for the bot. The bot gets a 403. Am I missing some permissions for the bot?
10-31-2025 08:33 PM
@sandiban
Same topic was covered on the link below, it seems Cisco designed for bots not to get webhook notifications on a space where you have the bot and other users, only invoking the bot like @bot would get the webhook triggered(because the bot was directly triggered), can you please upvote the aha.idea request (please tell your friends to the same) to have this behavior changed:
https://ciscocollabcustomer.ideas.aha.io/ideas/WXCUST-I-18912
Original link:
04-28-2022 02:06 AM - edited 04-28-2022 02:08 AM
Hi Daniel,
Bots are similar to regular Webex users. They can participate in 1-to-1 and group spaces and users can message them directly or add them to a group space. A special badge is added to a bot's avatar in the Webex clients so users know they're interacting with a bot instead of a human.
A bot can only access messages sent to it directly. In group spaces, bots must be @mentioned to access the message. In 1-to-1 spaces, a bot has access to all messages from the user.
Bots do not, however, perform actions within Webex on behalf of a Webex user. If you're creating an application that needs to participate in Webex and perform actions with a user's account, check out Integrations.
List messages with these people mentioned, by ID. Use me as a shorthand for the current API user. Only me or the person ID of the current user may be specified. Bots must include this parameter to list messages in group rooms (spaces).
One key difference between Webex Bots and regular users is that, in group spaces, bots only have access to messages in which they are mentioned. This means that messages:created webhooks only fire when the bot is mentioned in a space.
Also, listing messages requires that you specify a special ?mentionedPeople=me query parameter.
Thanks,
Sandip
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