Search for conversations containing a particular text or by filter or combine them both
Security
ApiKeyAuth
POST
- Find conversations that include one of two tags
- Find conversations that contain any tags
- Find conversations that contain all specified tags and contains specific text
- Find conversations with custom attribute of type Text
- Find conversations with custom attribute of type Select
- Find conversations where custom attribute is not set
- Find conversations with duration between 10 and 20 seconds
- Find conversations with last message since specified time
- Find conversations in a specific queue and with last activity until certain date
- Find conversations with creation date between two timestamps or closed date between two timestamps
- Find conversations with direction Inbound and channel Phone or SMS
curl -i -X POST \
'https://dev.dixa.io/beta/search/conversations?pageLimit=0&pageKey=string' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"filters": {
"strategy": "All",
"conditions": [
{
"field": {
"operator": {
"values": [
"177e7564-6434-4177-a25a-8530089196ad",
"7729e7564-9876-a637-b46b-8530038196b3"
],
"_type": "IncludesOne"
},
"_type": "TagId"
}
}
]
}
}'Response
- Results when query was not provided and next page is available
- Results when query was provided and no more pages are available
{ "data": [ { … }, { … }, { … } ], "meta": { "next": "/<api-version>/search/conversations/?pageKey=cGFnZUxpbWl0PTUwJnBhZ2U9MQ%3D%3D:" } }