IM Chat API's response when message encryption is enabled


#1

Hello,

When the end-to-end encryption is enabled for IM messages, the Chat API does not return the encrypted message text. Is there any way to retrieve the encrypted messages through API? Are there any permissions that can be added to the APP scope to enable it?

Thank you.


#2

Hi @snpatel_zoom,

Which Chat API are you referring too?


#3

I am referring to /im/chat/sessions/{sessionId}.

For encrypted messages the message string in the response comes like so:
“message”: “[This is an encrypted message]”