Unipile MCP Server

unipile_get_recent_messages

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

NameRequiredDescriptionDefault
account_idYesThe 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_sizeNoNumber of messages to fetch per chat (default: 20)

Input Schema (JSON Schema)

{ "properties": { "account_id": { "description": "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.", "type": "string" }, "batch_size": { "description": "Number of messages to fetch per chat (default: 20)", "type": "integer" } }, "required": [ "account_id" ], "type": "object" }