Upload Post icon

Upload Post

Upload content to social media via Upload-Post API

Actions118

Direct Message → List Conversations

AI-generated

Summary

List direct message conversations for a specified user profile on Instagram, WhatsApp, or Bluesky, optionally filtering by participant, conversation, status, read state, date, pagination, and message count per conversation.

Inputs

  • User Identifier Name or ID (required) — Select from created profiles or specify a profile ID to identify the user account from which to list conversations.
  • Platform (required) — Choose the social network platform: Instagram, WhatsApp, or Bluesky. Each has specific requirements (e.g., WhatsApp Business number, Bluesky app password).
  • Page Size — Number of conversations to retrieve per page (1-50); 0 uses the default (20). Bluesky limits to 25 max.
  • Messages per Conversation — Number of latest messages returned per conversation (1-25); 0 uses the default (10). For Bluesky, 1 is fastest.
  • Cursor — Pagination cursor from a previous request to retrieve the next page of conversations.
  • Since — Fetch only conversations with activity after the specified timestamp (Unix seconds, milliseconds, or ISO 8601).
  • Participant ID — Only retrieve conversations involving this participant. Format depends on platform (phone number for WhatsApp, Instagram-scoped ID, Bluesky handle or DID).
  • Conversation ID — (Bluesky only) Filter to a specific direct or group conversation by its ID.
  • Messages Cursor — (Bluesky only) Cursor to paginate messages within a specific conversation to read older messages.
  • Status — (Bluesky only) Filter conversations by status: accepted, requests, or all.
  • Read State — (Bluesky only) Filter conversations by read state: unread or all.

Output shape

a list of direct message conversations, each including conversation metadata and a limited number of recent messages per conversation

Pagination is supported via the Cursor input to navigate through pages of conversations. Filtering options vary by platform: Bluesky supports advanced filtering by conversation ID, status, and read state; WhatsApp and Instagram have restrictions based on message timing and templates, and require prior user interaction for conversations to appear.

Examples

Example 1: Retrieve up to 10 Instagram DM conversations for a user profile, each including the latest 5 messages, using default pagination.

Set User Identifier to chosen profile, Platform to Instagram, Page Size to 10, Messages per Conversation to 5.

Example 2: List Bluesky direct message conversations that have unread messages and are accepted (non-request) conversations.

Set User Identifier to profile with Bluesky credentials, Platform to Bluesky, Status to Accepted, Read State to Unread.

Links

Discussion