200-901 Cisco Platforms and Development Practice Question
A developer is using the Cisco Webex API to send a message to a specific room. They have the room ID. Which endpoint and method should they use?
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 roomId in the body
To send a message to a Webex room, the correct endpoint is POST /v1/messages with roomId 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.
- ✗
PUT /v1/messages/{messageId}
Why it's wrong here
PUT /v1/messages/{messageId} targets an existing message identified by messageId, so it cannot create a new message in a room. It is tempting because PUT is used for updating message content, which would be correct when editing a previously sent message rather than posting a fresh one to a room.
- ✓
POST /v1/messages with roomId in the body
Why this is correct
Creating a message is a resource-creation action, so the Webex messaging API expects an HTTP POST to the /v1/messages collection endpoint. The target room is identified by passing roomId in the JSON request body, which routes the message to that specific room.
- ✗
POST /v1/rooms with roomId in the body
Why it's wrong here
POST /v1/rooms creates a new room; it cannot deliver a message to an existing one, so the room ID in the body is ignored for messaging purposes. It is tempting because /v1/rooms is the genuine Webex rooms resource, and POST there is correct when provisioning a room rather than sending a message.
- ✗
GET /v1/messages?roomId=...
Why it's wrong here
GET retrieves messages rather than sending one, so it cannot satisfy the requirement to post a message to the room. It is tempting because listing a room's message history by roomId is a genuine Webex operation, and GET /v1/messages would be the right call when reading or auditing existing room content.
Go deeper
Related to this question
About these practice questions
One of 975 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.