List groups
Return a paginated list of profile groups accessible to the current user and team, including the number of profiles in each group.
Request parameters
Authorization Bearer Token
Include your API Key as a Bearer token in the Authorization request header.
Authorization: Bearer <api-key>Query parameters
5Fields
integer
Page number
Default
1Example
1minimum: 1integer
Items per page; default: 10, maximum: 100
Default
10Example
10minimum: 1maximum: 100string
Filter by group name
minLength: 1string
Filter by group notes
minLength: 1string
Sort field, such as name:asc or created_time:desc
minLength: 1Request code examples
JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.
curl -H 'Authorization: Bearer <TOKEN>' 'http://local.zhongyibrowser.com:39025/api/v1/groups?page=1&size=10'Responses
Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.
Group list
Body
application/jsonGroupListSuccessResponseFields
numberrequired
Business status code; always 0 on success
Enum
stringrequired
Business status message; always success on success
Enum
objectrequiredEndpoint business dataAdditional fields are not allowed.
Additional fields are not allowed.
Generated from the schema; not a live response.
{
"code": 0,
"message": "success",
"data": {
"items": [
{
"id": "group_01JABCDEF1234567890",
"name": "string",
"remark": "string",
"is_default": true,
"browser_count": 0,
"created_at": "2024-01-15T09:30:00Z",
"updated_at": "2024-01-15T09:30:00Z"
}
],
"total": 0,
"page": 0,
"size": 0,
"total_pages": 0
}
}