hardMultiple ChoiceObjective-mapped
200-901 Practice Question: A developer is integrating a Webex Teams bot with…
A developer is integrating a Webex Teams bot with an external system using the Webex API. The bot receives an HTTP POST callback from Webex every time a message is posted in a monitored space. The developer notices that sometimes the callback includes a 'data' object with 'actorId', but other times the 'actorId' is missing. The bot needs to log the identity of the person who posted the message. What should the developer do to reliably obtain the sender's identity?
⚠ Common exam trap
Cisco often tests the distinction between webhook callback payload fields (like 'resource' and 'event') versus API response fields, leading candidates to confuse the callback structure with the API data model.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Check the 'resource' field in the callback to determine if it is a 'messages' event; only messages events include actorId.
The Webex API callback payload includes the 'actorId' only for certain event types. Specifically, when the 'resource' field is 'messages' and the 'event' field is 'created', the 'actorId' is guaranteed to be present, representing the user who posted the message. Filtering by the 'resource' field ensures the bot processes only message creation events, reliably obtaining the sender's identity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Request additional OAuth scopes to include the actorId in the callback payload.
Why it's wrong here
Scopes determine what can be read/written, not the structure of callbacks.
- ✗
Filter callbacks by the verb 'posted' to ensure the actorId is included.
Why it's wrong here
The verb may vary, but actorId is present in most events; filtering by verb does not solve the missing field.
- ✗
Use the 'createdBy' field from the message details API as a fallback when 'actorId' is missing.
Why it's wrong here
The message details API returns the creator of the message, but the callback should already include actorId.
- ✓
Check the 'resource' field in the callback to determine if it is a 'messages' event; only messages events include actorId.
Why this is correct
The resource field indicates the object type; actorId is always present for messages events.
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.