Skip to content

List Messages

Request

Security
bearerAuth
Bodyapplication/json
bodyobjectrequired

Request body

curl -i -X POST \
  https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlermessage/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
          }
        },
        "senderId": {
          "conditionType": "FUZZY",
          "value": "string"
        },
        "createdTime": {
          "conditionType": "TIME_RANGE",
          "timeRange": {
            "start": 0,
            "end": 0
          }
        },
        "senderType": {
          "conditionType": "FILTER",
          "filter": [
            0
          ]
        },
        "isEffectiveReply": {
          "conditionType": "FILTER",
          "filter": [
            true
          ]
        },
        "content": {
          "conditionType": "FUZZY",
          "value": "string"
        },
        "id": {
          "conditionType": "KEYWORD",
          "value": "string"
        },
        "sessionId": {
          "conditionType": "string",
          "filter": [
            "string"
          ]
        },
        "conversationId": {
          "conditionType": "string",
          "filter": [
            "string"
          ]
        },
        "processedBy": {
          "conditionType": "string",
          "filter": [
            0
          ]
        }
      },
      "sorts": [
        {
          "sortOrder": "ASC",
          "sortFieldKey": "string"
        }
      ],
      "extendFieldParams": [
        {
          "conditionType": "NONE",
          "filter": [
            "string"
          ],
          "value": "string",
          "timeRange": {
            "start": "string",
            "end": "string"
          },
          "key": "string"
        }
      ],
      "paging": {
        "start": 0,
        "length": 1
      }
    }
  }'

Responses

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