get_whatsapp_chats_by_date_range
Retrieve WhatsApp chats that were active within a specific date range. Perfect for analyzing conversation patterns and generating reports.
Same as get_whatsapp_chats with action "by_date_range".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Results page, starting at 0 | |
| sort | No | Result order. Defaults to the API order (most recent activity first) | |
| limit | No | Number of WhatsApp chats per call (max 100) | |
| device | Yes | WhatsApp device ID connected to Wassenger (24 character hexadecimal string) | |
| toDate | No | End date (for by_date_range and archived actions) | |
| fromDate | No | Start date (for by_date_range and archived actions) | |
| activityType | No | Which date the range applies to: last message of any side, first message ever, or last message received from the customer | lastMessage |