Search for conversations containing a particular text or by filter or combine them both
Dixa API//
- List rating
Anonymize conversation
Anonymize message
Close conversation
Followup conversation
Reopen conversation
Transfer conversation
Add internal notes
List internal notes
Add internal note
Create conversation rating result
Create conversation rating offer
List ratings for a conversation
List organization activity log
List flows
Tag conversation
Untag conversation
Bulk tag conversation
List tags
List messages
Add message
Create conversation
Import conversation
Patch conversation custom attributes
Claim conversation
List activity log
Get conversation
Link a conversation to a parent conversation
List linked conversations
Search conversations with filters
Search conversations
List rating
Dixa API (v1)
Query
Bodyapplication/jsonMaximum number of results per page. May be used in combination with pageKey to change the number of results in between page requests.
The filters to apply to the search
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/search/conversations
- https://dev.dixa.io/v1/search/conversations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- 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://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/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
application/json
- 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:" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/conversations/{conversationId}/rating
- https://dev.dixa.io/v1/conversations/{conversationId}/rating
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/conversations/{conversationId}/rating' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ] }
Request
NOTE: This endpoint is deprecated and is replaced with POST /search/conversations. Search for conversations containing a particular text.
Security
ApiKeyAuth
Query
Maximum number of results per page. May be used in combination with pageKey to change the number of results in between page requests.
Base64 encoded form of pagination query parameters. Do not try to construct or change programmatically as the internal structure may change without notice.
The text by which to search conversations
Example: query=cancel my order
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/search/conversations
- https://dev.dixa.io/v1/search/conversations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/v1/v1/search/conversations?pageLimit=0&pageKey=string&query=cancel+my+order&exactMatch=true' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
application/json
{ "data": [ { … } ] }