Courseiva

200-901 Cisco Platforms and Development Practice Question

A developer wants to send a message to a Webex room using the API. The message should contain a simple text body. Which endpoint and parameter are required?

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 parameter 'roomId' and 'text'

To send a message, a POST request is made to /v1/messages with a JSON body containing roomId and text (or markdown). roomId identifies the target room.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    GET /v1/messages with query parameter 'roomId'

    Why it's wrong here

    GET /v1/messages retrieves existing messages using query parameters such as roomId; it cannot create or send a message. It is tempting because it references messages and rooms. It would be correct when listing or reading a room's message history, not when posting new text.

  • ✗

    POST /v1/memberships with body parameter 'message'

    Why it's wrong here

    POST /v1/memberships adds a person to a room and expects a personId or personEmail, not a message body. It is tempting because memberships relate to rooms. It would be correct when adding or removing room participants, not when posting a text message to a room.

  • ✗

    POST /v1/rooms with body parameter 'text'

    Why it's wrong here

    POST /v1/rooms creates a new room with a title, not a message; the 'text' parameter belongs to the messages endpoint. It is tempting because rooms are the destination. It would be correct when provisioning a new collaboration space, not when sending a message into an existing room.

  • ✓

    POST /v1/messages with body parameter 'roomId' and 'text'

    Why this is correct

    The Webex messaging endpoint accepts a POST to /v1/messages, where the JSON body supplies the target 'roomId' and the message content via the 'text' parameter. This pairing delivers a plain-text message to the specified room, matching the developer's simple text-body requirement.

About these practice questions

Courseiva writes every 200-901 question from scratch — 975 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.