List Threads
List conversation threads with pagination and filtering.
Returns threads from all channels for the current user. Uses workspace-aware database routing (Supabase or shared DB).
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/threads
- Auth: none declared
Query parameters
Search in thread title
Search by email address in thread participants
Filter by channel type (single)
Filter by channel types (comma-separated, e.g. telegram,google_calendar)
Filter by thread kind: dm, group, channel (single)
Filter by thread kinds (comma-separated, e.g. group,channel,comment_thread)
Filter threads where last message is inbound and user hasn't replied
Filter by contact state: new, follow_up, active, warm, cooling, dormant, low
Filter by channel account IDs (comma-separated, e.g. 229,230). Only applies when a single channel filter is active.
Filter by inbox folder ID
Filter by AI tag ID
Filter by assignment: 'me' for threads assigned to current user, 'unassigned' for threads with no assignment
Filter by thread IDs (comma-separated)
Filter threads with unread messages (unread_count > 0)
Filter threads with an open human escalation (ai_agent_escalations status pending/acknowledged)
'unread_first': threads with unread messages above the rest (pinned stay on top); otherwise newest first
Response
Successful Response
Changes
No recorded changes to this operation across all 5 revisions of this API.