Skip to main content
GET
List WhatsApp conversations

Authorizations

Authorization
string
header
required

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

Query Parameters

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
default: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
default:-created_at

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

limit
integer
default:20

Max sessions per page (max 50).

Required range: 1 <= x <= 50
offset
integer
default:0

Number of sessions to skip.

Required range: x >= 0
include_messages
boolean
default:true

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

max_messages_per_session
integer
default:500

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

Required range: 1 <= x <= 2000

Response

OK

Paginated list of WhatsApp conversations.

data
PublicWhatsAppSessionSchema · object[]
required

Conversations on this page.

count
integer
required

Total sessions matching the filters.

limit
integer
required

Page size that was applied.

offset
integer
required

Offset that was applied.

status
string
default:success

Always success.

Allowed value: "success"