We are planning on using im/chat/sessions/{sessionId} for getting IM messages for the users. Since we only get the name of the sender of the message, we do not have a way to find out who the recipient was when there is just one user interacting.
Can we have the recipient information added to the response from this endpoint? It would be helpful if we can have the api response return the following:
For 1:1 messages information about the sender and the receiver
For group message a list of members of the group
We considered using the other endpoint im/users/{userId}/chat/messages, but for arbitrary large number of users, it is not a viable option.
Yes, GET im/users/{userId}/chat/messages should work[0]. However. in your use case since its not a viable option, I’ll reach out to the Engineers to see if we can add the data the chat sessions endpoint.
Hi @tommy , the new APIs look great, but looks like they do not support account level apps or JWT apps.
Do you have any plans to support account level apps?
We need to be able to get all chats, channels and members using a single token , or get impersonation tokens for the users using an acoount level app.