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
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
GET
/api/project/whatsapp-messaging/list-chat-messages API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Display full conversation threads in a support or sales UI
- Sync chat history into a CRM or data warehouse
- Provide context to an LLM assistant before generating a reply