Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 419
While working with the Webex API, on an application that uses end-to-end encryption, a webhook has been received. What must be considered to read the message?
Answer options
- A. Webhook information cannot be used to read the message because of end-to-end encryption. The API key is needed to decrypt the message.
- B. Webhook returns the full unencrypted message. Only the body is needed to query the API.
- C. Webhook returns a hashed version of the message that must be unhashed with the API key.
- D. Webhook returns message identification. To query, the API is needed for that message to get the decrypted information.
Correct answer: D
Explanation
The correct answer is D because when a webhook is received in an end-to-end encrypted environment, it only includes the message ID, requiring an API call to retrieve the actual decrypted message. Option A is incorrect as it misrepresents the role of the webhook, while B inaccurately states that the full unencrypted message is returned. Option C incorrectly suggests that the message is hashed, which is not applicable in this scenario.