Pular para o conteúdo

List Unified Conversations

Deprecated
GET
/api/v1/channels/conversations/unified

[DEPRECATED] Use GET /api/v1/atendimento/conversations instead.

List all conversations from all channels (including legacy WhatsApp).

This unified endpoint combines:

  • New Channel/Conversation model (Sprint 22)
  • Legacy WhatsApp chats (Sprint 21)

IMPORTANT: Deduplication is done by phone number to avoid showing the same conversation twice.

channel_id
Any of:
integer

Filter by channel ID

status
Any of:
string

Filter by status (open, pending, resolved, archived)

search
Any of:
string

Search in contact name or phone

page
Page

Page number

integer
default: 1 >= 1

Page number

per_page
Per Page

Items per page

integer
default: 50 >= 1 <= 100

Items per page

x-tenant-id
Any of:
integer

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string