curl --request GET \
--url https://api.open.cx/chat/sessions/search \
--header 'Authorization: Bearer <token>'{
"contacts": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
],
"messages": [
{
"id": "<string>",
"session_id": "<string>",
"message": "<string>",
"type": "<string>"
}
]
}Full-text search across contacts (by name, email, phone) and chat messages. Returns matching contacts and messages with their session IDs.
curl --request GET \
--url https://api.open.cx/chat/sessions/search \
--header 'Authorization: Bearer <token>'{
"contacts": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>"
}
],
"messages": [
{
"id": "<string>",
"session_id": "<string>",
"message": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search query (a name, email, phone, or keyword)
1Was this page helpful?