Get org-wide conversations (batch endpoint)
Retrieve all conversations across all campaigns and targets in one request.
Performance:
- Replaces 100+ per-target requests with 1 batch query
- Reduces Prisma pool usage from 100+ connections to 1
- Response time: <500ms vs 18-24s with timeouts
Use case: Inbox list view
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/api/v1/conversations
- Auth: bearerAuth (a scheme the document does not define)
Query parameters
Filter conversations by channel
Filter conversations by campaign ID
Filter conversations by target ID
Filter by activity state (active = open/within 24h window, closed = completed/paused/expired)
Filter by handoff state
Filter by auto-reply status
Filter unassigned conversations (no target)
Search by phone number (toNumber contains)
createdAt greater than (exclusive)
createdAt greater than or equal (inclusive)
createdAt less than (exclusive)
createdAt less than or equal (inclusive)
Filter conversations where customer was last to message (>3 min ago, not snoozed)
Filter by assigned user UUID (use 'unassigned' for conversations with no assignee)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.