- Mock serverhttps://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlervisitor/query
- 3Chat production serverhttps://app.3chat.ai/api/open/v3/butlervisitor/query
curl -i -X POST \
https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlervisitor/query \
-H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"body": {
"conditions": {
"updatedTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
},
"id": {
"conditionType": "string",
"value": "string"
},
"firstTouch": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"language": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"lastTouch": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"utmSourceLast": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"accountId": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"phoneNumber": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"browserAgent": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"lastVisitTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
},
"externalReferrerLast": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"name": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"createdTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
},
"lastVisitIp": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"landingPageLast": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"email": {
"conditionType": "FUZZY",
"value": "string",
"filter": [
"string"
]
},
"firstVisitTime": {
"conditionType": "TIME_RANGE",
"timeRange": {
"start": 0,
"end": 0
}
}
},
"sorts": [
{
"sortOrder": "ASC",
"sortFieldKey": "string"
}
],
"paging": {
"start": 0,
"length": 1
}
}
}'Response
{ "code": 200, "message": "", "data": { "list": [ … ], "start": 36, "length": 1, "recordsTotal": 35 } }