200-901 Cisco Platforms and Development Practice Question
A developer wants to send a message to a specific room in Webex using the API. The developer already has the room ID. Which API call is correct?
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
✓
POST /v1/messages with body { 'roomId': 'Y2lzY29zcGFyazovL3VzL1JPT00v...', 'text': 'Hello' }
To send a message to a room, POST /v1/messages is used with roomId and text in the body.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
POST /v1/messages with body { 'roomId': 'Y2lzY29zcGFyazovL3VzL1JPT00v...', 'text': 'Hello' }
Why this is correct
The Webex messaging endpoint accepts POST /v1/messages, and targeting an existing space requires the roomId field in the JSON body alongside text. This call satisfies the constraint of using the already-obtained room ID to post into that specific room.
- ✗
PUT /v1/messages with body { 'roomId': '...', 'text': 'Hello' }
Why it's wrong here
PUT /v1/messages updates an existing message identified by messageId; it does not create a new message in a room. Sending requires POST /v1/messages with roomId and text. PUT would be correct when the developer must edit the text of an already-sent message.
- ✗
POST /v1/rooms with body { 'title': 'New Room' }
Why it's wrong here
POST /v1/rooms creates a new room with a title; it does not deliver a message to an existing room, and the supplied room ID is unused. Sending a message requires POST /v1/messages with roomId and text. Creating rooms would be correct when the developer needs a new collaboration space.
- ✗
GET /v1/messages with query parameter roomId='...'
Why it's wrong here
GET /v1/messages retrieves message history; it cannot send anything, so the message is never delivered. The correct call is POST /v1/messages with roomId and text in the body. Listing messages would be correct when the requirement is reading or auditing existing room conversations.
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 975-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.