Skip to main content
POST
Search conversation messages with contextual evidence

Authorizations

Authorization
string
header
required

Server-side tenant-scoped credential created from Build > API Keys.

Body

application/json
query
string
required

Natural-language meaning in hybrid mode; literal normalized phrase in exact mode. Omit for filtered attachment discovery.

Required string length: 1 - 1000
mode
enum<string>
default:hybrid
Available options:
hybrid,
exact
from
string<date-time>

Inclusive anchor timestamp with explicit offset. Translate natural-language dates using the business timezone.

to
string<date-time>

Exclusive anchor timestamp with explicit offset.

channel
enum<string>
Available options:
whatsapp,
instagram,
messenger,
tiktok,
webchat
direction
enum<string>
Available options:
inbound,
outbound
conversationId
string

Stored conversation ID from list_conversations; guest identity search remains separate.

Required string length: 1 - 200
hasAttachments
boolean
limit
integer
default:10
Required range: 1 <= x <= 20
cursor
string

Opaque continuation from this search. Keep every other input unchanged. Ranked cursors expire after five minutes.

Required string length: 1 - 2048

Response

Grouped contextual search evidence with coverage and continuation

conversations
object[]
required
Maximum array length: 20
appliedFilters
object
required
retrievalMode
enum<string>
required
Available options:
hybrid,
exact,
filtered
coverage
object
required
truncated
boolean
required
resultCap
enum<integer> | null
required
Available options:
200,
null
hasMore
boolean
required
nextCursor
string | null
required