02-07-2023 07:13 AM
Hi,
My app uses a bot token to create a room and add a membership (my user). I can see the room, send messages to both the user and the bot.
What I can't do is read the messages through the API using the bot token. I get this message Forbidden: Failed to get activity.
It kind of makes sense, but I wanted to ask anyway to make sure I'm not missing something.
Is it forbidden or am I doing something wrong?
Solved! Go to Solution.
02-07-2023 07:42 AM
Bots only have access to messages they've sent or received in a 1:1 space or where they've been mentioned in (see https://developer.webex.com/docs/bots).
You cannot access all messages in a group space the bot is member in
02-07-2023 07:42 AM
Bots only have access to messages they've sent or received in a 1:1 space or where they've been mentioned in (see https://developer.webex.com/docs/bots).
You cannot access all messages in a group space the bot is member in
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