# 获取企业群活码列表

请求方式:POST

请求地址:https://$basehost/gateway/qopen/GetGroupActiveCodeList

body参数

{
  "offset": 0,
  "limit": 10
}
字段 类型 必填 说明
offset int 每次获取的的开始位置,最小值为0
limit int 每次获取的条数,取值范围(1~100)

返回值:

{
  "data": {
    "group_active_code_list": [
      {
        "group_active_code_id": "群活码id",
        "name": "群活码名称",
        "ac_url": "群活码链接",
        "creator_id": "创建者id",
        "incr_scan_num": "扫码人数",
        "incr_member_num": "进群人数",
        "is_enable": "是否开启 true为开启 false为关闭"
      }
    ],
    "has_more": "是否还有更多"
  },
  "errcode": 0,
  "errmsg": "",
  "hint": "KcFVzmxGHRfNbnlG1VQA"
}

返回说明

字段 类型 说明
errcode int 状态码,0为正常,非0代表错误
errmsg string 错误信息
data json json返回值
group_active_code_list arrays 群活码列表
name string 群活码名称
ac_url string 群活码链接
creator_id string 群活码id
group_active_code_id string 创建者id
incr_scan_num int 扫码人数
incr_member_num int 进群人数
is_enable bool 是否开启 true为开启 false为关闭
has_more bool 是否还有更多
hint string 请求日志ID

完整请求示例:

curl -X POST \
  https://$basehost/gateway/qopen/GetGroupActiveCodeList \
  -H 'Content-Type: application/json; charset=UTF-8' \
  -H 'Token: c2NdxDHKXIJ5j1zrhJeq2eJEHjh9xxx' \
  -d '{
        "offset": 0,
        "limit": 10
      }'
最后更新时间: 2024/5/8 16:28:46