inbox
List Conversations
List conversations for the current client.
A conversation = one lead with at least one INBOUND message. Sorted by last-message timestamp, newest first.
A6 unread semantics:
- unread_total is GLOBAL (all conversations, not just this page).
- unread_only=true filters in SQL BEFORE pagination — pages can no longer come back empty while unread conversations exist deeper.
- total = all conversations normally; = unread conversations when unread_only is set. Implementation: one query pulls every inbound (lead_id, created_at) for the client, and the per-lead cursor comparison happens in Python. Exact, single round-trip, and fine at pilot scale (inbound volume is small); at ~thousands of inbound rows move the cursor map to a real table and do the anti-join in SQL (see plan A6 "real fix").
get/api/v1/inbox/conversations
Request
- Base URL: https://api.nudgelink.co (the document declares no server; this is the origin it was published from)
- URL: https://api.nudgelink.co/api/v1/inbox/conversations
- Auth: HTTP bearer
Query parameters
limitinteger
offsetinteger
unread_onlyboolean
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.