Skip to main content
GET
Search contacts and messages

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
string
required

Search query (a name, email, phone, or keyword)

Minimum string length: 1
contact_id
string

Restrict message hits to sessions belonging to this contact. When set, the contacts[] response is also restricted to this contact (no BM25 fan-out).

Minimum string length: 1

Response

Default Response

contacts
object[]
required
messages
object[]
required