- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlersession/query
- 3Chat production serverhttps://app.3chat.ai/api/open/v3/butlersession/query
curl -i -X POST \
https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlersession/query \
-H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"body": {
"conditions": {
"id": {
"conditionType": "string",
"value": "string"
},
"updatedTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
},
"createdTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
},
"visitorId": {
"conditionType": "FUZZY",
"filter": [
"string"
]
},
"channelId": {
"conditionType": "string",
"filter": [
"string"
]
},
"type": {
"conditionType": "string",
"filter": [
"string"
]
},
"subjectId": {
"conditionType": "string",
"value": "string"
},
"subjectName": {
"conditionType": "string",
"value": "string"
}
},
"sorts": [
{
"sortOrder": "ASC",
"sortFieldKey": "string"
}
],
"paging": {
"start": 0,
"length": 1
}
}
}'Response
{ "code": 0, "message": "string", "data": { "list": [ … ], "start": 0, "length": 0, "recordsTotal": 0 } }