Skip to content

List Dialogs

Request

Security
bearerAuth
Bodyapplication/json
bodyobjectrequired

Request body

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
      }
    }
  }'

Responses

Headers
any
Bodyapplication/json
codeinteger
messagestring
dataobject
Response
{ "code": 0, "message": "string", "data": { "list": [ … ], "start": 0, "length": 0, "recordsTotal": 0 } }