列出自動標籤

List auto tags

post

Retrieve a list of all auto tags with pagination and status information

Authorizations
Query parameters
botIdstringRequired

The bot ID for the API request

pageintegerOptional

Page number for pagination

Default: 1
perpageintegerOptional

Number of items per page

Default: 10
searchstringOptional

Search term for filtering results

Default: ""
sortingstring · enumOptional

Sort order (ASC or DESC)

Default: ASCPossible values:
sortingTypestring · enumOptional

Field to sort by (updateAt, clientCount, createdAt, name)

Default: updateAtPossible values:
platformstring · enumOptional

Platform filter (line, facebook, instagram, liveChat, whatsapp)

Possible values:
startTimestringOptional

Start time for date range filter

Default: ""
endTimestringOptional

End time for date range filter

Default: ""
isCountByPlatformbooleanOptional

Whether to count by platform

Default: true
Body
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
Responses
200
Auto tags list retrieved successfully
application/json
Responseall of
post
POST /api/openapi/autoTags/list HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 33

{
  "secret": "your_secret_key_here"
}
{
  "success": true,
  "message": "Operation completed successfully",
  "autoTagList": [
    {
      "id": "text",
      "name": "text",
      "confidence": 1,
      "lifeCycle": "text",
      "isActive": true
    }
  ],
  "pagination": {
    "totalPages": 5,
    "currentPage": 1,
    "hasPre": false,
    "hasNext": true
  },
  "isAllActiveConfidence": true,
  "isAllActiveLifeCycle": true
}

Last updated