unipile_get_recent_messages
Retrieve recent messages from all chats for a given account across multiple messaging platforms including WhatsApp, LinkedIn, and more.
Instructions
Get recent messages from all chats associated with a specific account. Supports messages from: Mobile, Mail, WhatsApp, LinkedIn, Slack, Twitter, Telegram, Instagram, Messenger. Returns message details including text content, sender info, timestamps, attachments, reactions, quoted messages, and metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The one source ID of of the account to get messages from. It is the id of the source objects in the account's sources array. | |
| batch_size | No | Number of messages to fetch per chat (default: 20) |