export_whatsapp_chats
Export WhatsApp chats list in various formats for backup, analysis, or reporting purposes.
Same as analyze_whatsapp_chats with action "export".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of WhatsApp chats to export (max 1000, fetched in pages of 500) | |
| device | Yes | WhatsApp device ID connected to Wassenger (24 character hexadecimal string) | |
| fields | No | Explicit dot-path allowlist for the json format. Overrides verbosity when set. | |
| format | No | Export format | json |
| status | No | Export only: filter by chat status | |
| toDate | No | End of the period. Statistics: defaults to now. Export: only chats whose last message is before this date | |
| fromDate | No | Start of the period, e.g. 2026-09-11T00:00:00+02:00. Statistics: defaults to 7 days before toDate. Export: only chats whose last message is after this date | |
| verbosity | No | Response detail level for the json format | summary |
| compareToDate | No | Statistics only: end of the earlier period to compare with | |
| compareFromDate | No | Statistics only: start of an earlier period to compare with. Requires compareToDate |