get deprecatedhttps://{base_url}/rest/chat/messages
Get the chat messages exchanged between the users passed as input. The endpoint is paginated because the number of messages can increase indefinitely.
The response has a messages
key containing an array of messages and a meta
key that contains metadata to use to implement pagination. More specifically, there are a next
and a previous
keys containing the parameters to pass to obtain respectively the next and the previous page of messages.