List Messages in a Chat

View All WhatsApp Messaging API APIs →

Return the most recent messages of one chat from the local store, oldest to newest. Provide the chatJid (e.g. 8613800138000@s.whatsapp.net for a direct chat or 120363...@g.us for a group). Each message includes id, chatJid, fromMe, timestamp, text, and type. Use limit to control how many are returned.

API Features

Ordered history Returns a chat's recent messages oldest-to-newest for natural conversation rendering
Direction flag fromMe distinguishes your outgoing messages from the contact's incoming ones
Adjustable depth Use limit to fetch just the latest few or a longer slice of history

Live API Demo

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 →