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.
Click Try It! to start a request and see the response here!