API Reference
cURL
curl --request GET \ --url http://localhost:{port}/api/v1/messages \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "body": "<string>", "fromMe": true, "timestamp": 123, "isStarred": true, "isPinned": true, "mentions": [ "<string>" ], "groupMentions": [ "<string>" ], "reactions": [ { "reaction": "<string>", "senderId": "<string>", "timestamp": 123 } ] } ], "pagination": { "total": 123, "page": 123, "pageSize": 123, "totalPages": 123 } }
List messages with pagination
JWT token authentication
Filter messages by chat ID
Page number
Items per page
Messages retrieved successfully
Array of messages
Show child attributes
Pagination metadata