List DM conversations
list_dm_conversationsLists direct-message conversations for a connected profile on a chosen platform, newest first with latest messages, and paginates older threads via cursor so agents can review and filter DMs.
Instructions
DM conversations for a profile on a given platform, newest first, each with its latest messages. The response carries pagination { next_cursor, has_more }: to read older conversations, call again with cursor set to next_cursor (and the same since / participant_id) until has_more is false. Media a message carries comes back in attachments (type, url, plus size and preview fields when the platform gives them); content the platform flags is_unsupported cannot be retrieved. Bluesky (read live, up to 25 conversations per page) adds per conversation status (request / accepted), unread_count, muted, kind (direct / group) and per message direction, reactions, reply_to and shared posts in attachments; use conversation_id (+ messages_cursor) to page back through one conversation's history, and status / read_state to filter. Bluesky needs the account connected with an app password that allows direct messages, otherwise 403 bluesky_dm_scope_missing. WhatsApp (available to every account) lists the conversations of the profile's WhatsApp Business number, stored as they arrive, with participant_id = the person's phone number (what send_dm takes as recipient_id); files people send come with a media_id. Telegram (platform: "telegram"): the private chats of the profile's own bot, with participant_id = the person's numeric chat id (what send_dm takes as recipient_id). It needs the bot's updates on (manage_telegram_bot set_updates); otherwise 409 telegram_updates_not_enabled. Files people send come with a media_id (a Telegram file_id), which send_dm attachments can send again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>"
},
"name": "list_dm_conversations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Bluesky only: only direct (1:1) conversations. | |
| user | Yes | Upload-Post profile name that owns the connected account. | |
| view | No | Bluesky only: up to 100 conversations per page, each with only its latest message (fastest). | |
| limit | No | Conversations per page. Default 20; the API returns at most 50 per page (25 on Bluesky). | |
| since | No | Only conversations with activity after this moment: Unix timestamp (seconds) or ISO 8601 date, e.g. '2026-11-01T00:00:00Z'. | |
| cursor | No | `pagination.next_cursor` from the previous call, to get the next (older) page. Omit for the first page. | |
| status | No | Bluesky only: 'request' = message requests not accepted yet, 'accepted' = regular conversations. | |
| include | No | Bluesky only: add `unread_counts` {accepted, request} to the answer. | |
| platform | No | 'instagram', 'whatsapp', 'facebook' (Messenger) 'bluesky' or 'telegram'. Required by the Upload-Post API. Messenger is in a limited rollout: an account without access gets 403 `messenger_not_enabled`, and no plan, setting or reconnect changes that (the user can ask Upload-Post support for access). | |
| read_state | No | Bluesky only: 'unread' returns only conversations with unread messages. | |
| messages_limit | No | Latest messages returned per conversation, 1-25. Default 10. When raising it, lower `limit` (10-20 conversations): a large page with many messages is slow, and Instagram may then answer with text only, without attachments. | |
| participant_id | No | Return only the conversation with this person: the other participant's `id` from a previous listing (on Instagram, the same id send_dm takes as recipient_id; on WhatsApp, their phone number; on Bluesky, their handle or DID). On Bluesky this never opens a new conversation. | |
| conversation_id | No | Bluesky only: return just this conversation (direct or group), with its messages. | |
| messages_cursor | No | Bluesky only, with `conversation_id`: the conversation's `messages.paging.next_cursor` from the previous answer, to read its older messages. | |
| business_connection_id | No | Telegram only: the chats of this connected Telegram Business account instead of the bot's. | |
| include_profile_photos | No | Telegram only: add each participant's profile photo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |