Actions48
- Chat Actions
- Contact Actions
- Group Actions
- Media Actions
- Message Actions
- Session Actions
- Status Actions
- Webhook Actions
Message → Get History
AI-generatedSummary
Retrieve up to 100 recent messages from a specified WhatsApp chat by providing its Chat ID.
Inputs
- Chat ID (required) — The ID of the WhatsApp chat to fetch message history from, e.g., '5511999999999@s.whatsapp.net'.
- Limit — The maximum number of messages to retrieve, with a default of 50 and a maximum of 100.
Output shape
a list of message objects represented as JSON
The returned list contains the most recent messages from the specified chat. The number of messages returned is limited by the 'Limit' parameter, capped at 100.
