List Messages in a Chat

View All WhatsApp Messaging API APIs →

Return the most recent cached messages of one chat, in reverse chronological order. Provide the sessionId and the chatJid (e.g. 8613800138000@s.whatsapp.net for a direct chat or 120363...@g.us for a group). Messages come from the in-memory cache (login history sync plus real-time traffic). Use limit to control how many are returned.

API Features

Per-chat history Fetch the recent message slice of any direct chat or group by its chatJid
Newest-first Returns the latest messages first for quick access to recent context
Adjustable depth Use limit to fetch just the latest few or a longer slice of history

Live API Demo

GET /api/project/whatsapp-messaging/list-chat-messages

API Response (JSON)

{}
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

View Subscription Plans →