Page through unified inbox threads for campaign replies across LinkedIn and email, newest activity first.
last_message_at DESC. Each conversation represents a single LinkedIn or email thread between one of your sender accounts and one prospect — they are created by inbound webhooks (Unipile message_received, AgentMail message.received) when a prospect replies to a campaign, or by the first outbound reply sent through sendConversationMessage.
Each item is enriched server-side with:
last_message_snippet — first 100 characters of the most recent messagelast_message_direction — inbound or outbound, useful for unread-badge logic client-sideparticipant_company — looked up from campaign_prospects via the participant’s LinkedIn URL or email| Query | Effect |
|---|---|
?status=active / ?status=archived | Archive state |
?channel=linkedin / ?channel=email | Channel |
?campaign_id={uuid} | Only threads with messages tagged to that campaign |
?page=N&limit=M | Pagination — limit defaults to 50, max 100 |
conversations row.last_message_at with a client-stored “last seen” timestamp per conversation id to decide what’s unread. Server-side unread_count is authoritative but gets reset to 0 as soon as anyone calls getConversation, so relying on it alone can race across clients.Chaining. To act on a thread the agent should:listConversations to find the conversation id.getConversation (or listConversationMessages) to read the history.sendConversationMessage to reply, or updateConversation to archive.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter by status. Default is to return all statuses.
active, archived Filter by channel. Values outside linkedin|email are silently ignored.
linkedin, email Return only conversations whose messages include at least one row tagged with this campaign id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$1-indexed page number. Defaults to 1.
0 < x <= 9007199254740991Page size. Defaults to 50, max 100.
0 < x <= 100Paginated list of conversations. Empty array when the user has no matching threads.
Total matching rows across all pages (ignores page/limit). Use to drive pagination controls.
0 <= x <= 90071992547409910 < x <= 90071992547409910 < x <= 9007199254740991