Actions84
- Instance Actions
- Event Actions
- Message Actions
- Call Actions
- Group Actions
- Community Actions
- Newsletter Actions
- Profile Actions
- Chat Actions
- Get History
- Mark Chat Read
- Mark Message Read
- Pin Chat
- Pin Message
- Favorite
- Mute Chat
- Archive Chat
- Delete Chat
- Create Tag
- List Tags
- Assign Tag
- Get Contacts by Label
- Unassign Tag
- Delete Tag
- List Contacts
- Block Contact
- Send Presence
- Forward Message
- Edit Message
- Find Message
- Get Message Status
- Delete Message
- Get Media Base64
- Get Poll Votes
- Integration Actions
- Health Actions
Chat → Get History
AI-generatedSummary
Retrieve the message history of a specified chat within a chosen WhatsApp instance, optionally filtered by date range and limited by message count.
Inputs
- Instance Name or ID (required) — Select the WhatsApp instance to operate on, either from the provided list or by specifying an ID via expression.
- Number (required) — Specify the chat identifier to fetch history from; can be a phone number, JID, group, or newsletter.
- Count — Set the maximum number of messages to retrieve, defaulting to 50 if not specified.
- Date Range — Optionally define a start and end date/time to limit the retrieved chat messages within that period.
Output shape
a list of chat messages
The response includes up to the specified count of messages from the chat history, optionally filtered by the provided date range. The output is a list of message objects containing message details.