Retrieves messages for a specific conversation with pagination support
cURL
curl --request GET \ --url http://localhost:3000/api/conversations/get-messages
{ "messages": [ { "id": "<string>", "senderId": "<string>", "content": "<string>", "timestamp": 123, "readBy": [ "<string>" ], "type": "<string>" } ], "hasMore": true, "nextCursor": "<string>" }
The ID of the conversation
Maximum number of messages to retrieve
Cursor for pagination - ID of the last message from previous request
Messages retrieved successfully
Show child attributes
Message ID
ID of the user who sent the message
Message content
Timestamp when the message was sent
Array of user IDs who have read this message
Message type (text, system, etc.)
Whether there are more messages available
Cursor for fetching the next page of messages