Actions65
- Batch Actions
- Chat Actions
- Consent Actions
- Contact Actions
- Custom API Request Actions
- Event Actions
- Group Actions
- History Sync Actions
- Instance Actions
- Message Actions
- Privacy Actions
- Recipient Actions
- Webhook Delivery Actions
Chat → Get Recent Messages
AI-generatedSummary
Fetches recent persisted messages for a specified chat from the Baileys Instance API.
Inputs
- Chat JID (required) — The chat JID whose messages to retrieve.
- Limit — Maximum number of recent messages to return; defaults to 10 and accepts values from 1 to 100.
Output shape
A list of message items, with each object in the API response's items array returned as a separate n8n item.
If the response does not contain an
itemsarray, the response is returned as a single n8n item. Non-object entries initemsare ignored.