Implementing Automation for Cisco Collaboration Solutions (CLAUTO) — Question 16
A Webex Teams bot receives a Webhook payload, which notifies the bot that a message was created in a space. Which two API requests must be issued for the bot to answer the author of the message? (Choose two.)
Answer options
- A. POST /v1/messages
- B. GET /v1/messages/{messageId}
- C. GET /v1/webhooks/{webhookId}
- D. PUT /v1/messages/{messageId}
- E. POST /v1/webhooks
Correct answer: C, E
Explanation
To respond to the author of the message, the bot first needs to retrieve the relevant webhook information using GET /v1/webhooks/{webhookId} (option C) and then send a response using POST /v1/webhooks (option E). The other options are not valid for this scenario as they pertain to different API functionalities not required for responding to a message.