Courseiva

200-901 Cisco Platforms and Development Practice Question

A developer is building a Python application that uses the Webex Teams API to send a message to a specific room. The developer has the room ID and a valid access token. Which HTTP method and endpoint should be used?

⚠ Common exam trap

The trap here is using a nested endpoint or the wrong HTTP method for creating a message.

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 and text in the JSON body

To send a message to a Webex Teams room, the developer must use POST /v1/messages with the roomId and text in the JSON body. The access token is provided in the Authorization header. Other methods like GET are for listing messages, and PUT is for updating existing messages. The endpoint must be exactly as documented.

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 roomId and text in the JSON body

    Why this is correct

    The Webex Teams API uses POST /v1/messages to create a message. The request must include the roomId and text parameters in the JSON body. The access token is passed in the Authorization header as a Bearer token. This is the correct method and endpoint for sending a message to a room.

  • ✗

    GET /v1/messages with roomId as a query parameter

    Why it's wrong here

    GET /v1/messages is used to list messages, not to send them. It requires a roomId as a query parameter to filter messages for that room, but it does not create a new message. The developer needs to send a message, so POST is required. Using GET would only retrieve existing messages.

  • ✗

    PUT /v1/messages with roomId and text in the JSON body

    Why it's wrong here

    PUT is used to update an existing message, not to create a new one. To update a message, the message ID is required in the path, such as PUT /v1/messages/{messageId}. Without a message ID, PUT to the collection is invalid. The developer needs to create a message, so POST is the correct method.

  • ✗

    POST /v1/rooms/{roomId}/messages with text in the JSON body

    Why it's wrong here

    This endpoint does not exist in the Webex Teams API. Messages are created via POST /v1/messages, with the roomId included in the body. There is no sub-resource for messages under a room. Using an incorrect endpoint results in a 404 Not Found. The developer must use the documented endpoint.

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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

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.