Skip to content

List Chat Groups

Request

Security
bearerAuth
Bodyapplication/json
bodyobjectrequired

Request body

curl -i -X POST \
  https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butlergroup/query \
  -H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "body": {
      "conditions": {
        "id": {
          "conditionType": "KEYWORD",
          "value": "string"
        },
        "updatedTime": {
          "conditionType": "TIME_RANGE",
          "timeRange": {
            "start": 0,
            "end": 0
          }
        },
        "name": {
          "conditionType": "FUZZY",
          "value": "string"
        },
        "createdTime": {
          "conditionType": "TIME_RANGE",
          "timeRange": {
            "start": 0,
            "end": 0
          }
        },
        "externalGroupId": {
          "conditionType": "FUZZY",
          "value": "string"
        }
      },
      "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

200 = success; 400 = invalid parameters; 500 = internal server error.

messagestring
dataobject
Response
{ "code": 0, "message": "string", "data": { "list": [ … ], "start": 0, "length": 0, "recordsTotal": 0 } }