Skip to main content
GET
List WhatsApp conversations

Autorizaciones

Authorization
string
header
requerido

API key created in the dashboard under Settings → API Keys. Send it as Authorization: Bearer pk_....

Parámetros de consulta

created_after
string<date-time> | null

Only sessions created at/after this UTC timestamp.

created_before
string<date-time> | null

Only sessions created before this UTC timestamp.

updated_after
string<date-time> | null

Only sessions updated at/after this UTC timestamp. Use for incremental sync (pull only what changed since the last fetch).

client_id
integer | null

Only sessions belonging to this client.

search
string | null

Case-insensitive match against client first/last name and the customer phone number.

disposition_tag_ids
integer[] | null

Filter to sessions whose disposition tag is one of these IDs (OR).

include_uncategorized
boolean
predeterminado:false

When combined with disposition_tag_ids, also include sessions with no disposition tag.

status
string | null

Session status: new, ai_handling, human_handling, resolved, expired.

direction
string | null

Session direction: inbound or outbound.

sort_by
string
predeterminado:-created_at

Sort field, prefix with '-' for descending. One of: created_at, updated_at, last_message_at, client_name.

limit
integer
predeterminado:20

Max sessions per page (max 50).

Rango requerido: 1 <= x <= 50
offset
integer
predeterminado:0

Number of sessions to skip.

Rango requerido: x >= 0
include_messages
boolean
predeterminado:true

Include the inline transcript. Set false for a metadata-only browse.

max_messages_per_session
integer
predeterminado:500

Max messages embedded per session (oldest-first). Sessions with more set has_more_messages=true; fetch the rest from the messages endpoint.

Rango requerido: 1 <= x <= 2000

Respuesta

OK

Paginated list of WhatsApp conversations.

data
PublicWhatsAppSessionSchema · object[]
requerido

Conversations on this page.

count
integer
requerido

Total sessions matching the filters.

limit
integer
requerido

Page size that was applied.

offset
integer
requerido

Offset that was applied.

status
string
predeterminado:success

Always success.

Allowed value: "success"