List messages
list_messagesRead stored WhatsApp messages newest first. Filter by account, chat, or direction to trace a conversation; use cursor for pagination.
Instructions
Messages wuapi stored, newest first: sent and received. Filter by account, chat and direction to read a conversation. There is no endpoint that lists chats; recent messages show who wrote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1 to 100. Default 20. | |
| chatId | No | The chat: a contact as E.164 with + (`+584241112233`) or `lid:<digits>`, or a group id (`...@g.us`). | |
| cursor | No | `nextCursor` from the previous page, to get the next one. | |
| accountId | No | The wuapi account id of the linked number to act as (from list_accounts). | |
| direction | No | ||
| projectId | No | Only this project: its id, `ext:<externalId>`, or `none` for resources in no project. Organization keys only; a project key always sees its own project. |