A bot has been created to respond to alarm messages. A developer is now creating a Webhook to allow the bot to respond to messages. Which format allows the Webhook to respond to messages for the bot within Webex?
A.
GET /messages?personId=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
B.
GET /messages?mentionedPeople=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
C.
GET /messages?mentionedBot=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
D.
GET /messages?botId=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
Correct answer: B
GET /messages?mentionedPeople=me&roomId=SOME_INTERESTING_ROOM
Authorization: Bearer THE_BOTS_ACCESS_TOKEN
https://developer.webex.com/docs/api/guides/bots
https://developer.webex.com/docs/bots
The correct answer is B:
Reference: GET /messages?mentionedPeople=me&roomId=SOME_INTERESTING_ROOM
Authorization: Bearer THE_BOTS_ACCESS_TOKEN
https://developer.webex.com/docs/bots
Note: In group rooms, bots only have access to messages in which they are mentioned. This means that webhooks would only be called when the bot is specifically mentioned in a room (with @).
Cisco DEVCOR 350-901 Study Guide
Differences Between Bots and People
anchor
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.
In addition people have a personId that must be resolved via /people, bots have a Bot Id and a personId. The Bot Id is shown in the apps page and is usually only known to the developer. The bot's personId can be looked up via the bot's email address in /people.
GET /messages?mentionedPeople=me&roomId=SOME_INTERESTING_ROOM
Authorization: Bearer THE_BOTS_ACCESS_TOKEN
https://developer.webex.com/docs/api/guides/bots
I would go with B because of the "mentionedPeople=me"
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
uhugrub
Highly Voted 1 year, 4 months agoTeringzooi
Most Recent 7 months, 3 weeks agodesignated
8 months, 3 weeks agoQuiShong
11 months, 1 week agoferock
1 year agoferock
1 year ago__al__
1 year, 1 month ago