WhatsApp: List Recent Incoming Messages

View all WhatsApp Messaging API endpoints →

Return messages received in real time while the session was connected, in reverse chronological order (newest first). Each item includes the message id, chatJid, sender, type, text, and timestamp. The inbox holds the most recent 500 messages per session; these records are cleared on restart. Use limit to cap how many are returned. Ideal for polling new inbound messages to power auto-replies.

API Features

Newest-first ordering Returns received messages in reverse chronological order so you process the latest first
Rich message fields Each item includes chatJid, sender, type, text, and timestamp for routing and display
Adjustable limit Cap results with limit (up to the 500-message cache) to balance freshness against payload size

Live API Demo

GET /api/project/whatsapp-messaging/list-inbox

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/whatsapp-messaging/list-inbox?key=<API_KEY>&sessionId=<sessionId>&limit=50'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →