列出個性化標籤
Retrieve a list of all auto tags with pagination and status information
Authorizations
Query parameters
botIdstringRequired
The bot ID for the API request
pageintegerOptionalDefault:
Page number for pagination
1
perpageintegerOptionalDefault:
Number of items per page
10
searchstringOptionalDefault:
Search term for filtering results
""
sortingstring · enumOptionalDefault:
Sort order (ASC or DESC)
ASC
Possible values: sortingTypestring · enumOptionalDefault:
Field to sort by (updateAt, clientCount, createdAt, name)
updateAt
Possible values: platformstring · enumOptionalPossible values:
Platform filter (line, facebook, instagram, liveChat, whatsapp)
startTimestringOptionalDefault:
Start time for date range filter
""
endTimestringOptionalDefault:
End time for date range filter
""
isCountByPlatformbooleanOptionalDefault:
Whether to count by platform
true
Body
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_here
Responses
200
Auto tags list retrieved successfully
application/json
Responseall of
401
JWT token is invalid or expired
application/json
403
Permission denied - insufficient access rights
application/json
404
OpenAPI configuration not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
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