查询行为验证码应用详情
GET/api/v1/humanverify/apps/:id
- 成功码
69300- 子账号所需权限
- 查看行为验证码
返回一个应用的设置(字段同列表一行)。应用不存在、已删除或不是你的都返回 69320。
请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
id | 路径 | string | 是 | 应用编号(列表里的 app_id,hv 开头 18 位) |
应答 data
| 字段 | 类型 | 说明 |
|---|---|---|
app_id | string | 应用编号(hv 开头 18 位,嵌在网页里;查询详情时放在路径里) |
name | string | 应用名称 |
kinds | array<string> | 允许的验证形态:slider 滑块 / rotate 旋转 / degree 角度旋转 / restore 滑动还原 / word 文字点选 / order 语序点选 / icon 图标点选 / jigsaw 拼图还原 / gesture 手势 |
mech | string | 验证机制:always 始终验证(所有访客都答题)/ smart 智能免验证(低风险访客不出题、直接通过,有风险才出题)/ pow 无感验证(所有访客都不出题,浏览器在后台完成一段计算;防护强度低于答题)。小程序应用恒为 always |
silent | boolean | 是不是智能免验证(= mech 是 smart;老字段,保留) |
client_type | string | 客户端类型:web 网页 / App,miniapp 小程序(只能始终验证) |
silent_allowed | boolean | 这类客户端能不能选智能免验证 / 无感验证(小程序不能,只能始终验证) |
help_url | string | 帮助链接:验证框「遇到问题」里多一个去你自己帮助页的链接;空串 = 没设 |
lang | string | 提示语言:auto 跟随页面与浏览器语言 / zh-CN / en |
web_settings | boolean | 有没有域名白名单 / 外观设置(小程序没有,安全设置只有强制签名) |
risk_level | string | 风险等级:ease 宽松 / balance 均衡 / strict 严格 |
domain_allow | array<string> | 域名白名单(example.com 或 *.example.com);空 = 不限 |
domain_open | boolean | 域名白名单为空(任何网站都能用这个应用编号出题) |
theme | string | 外观:auto 跟随系统 / light 浅色 / dark 深色 |
sign_required | boolean | 强制签名:开着时网页出题必须带你的服务端用应用密钥签发的签名 |
status | string | enabled 启用 / disabled 停用(另有 enabled 布尔) |
creator | object | 创建者 {type: root 主账号 / sub 子账号, display};不带用户主键 |
last_used_at | string | 最近出题时间,没用过为空串 |
today_passed | integer | 今日通过的验证数(含免答题;已写入统计的,最多晚几秒) |
created_at | string | 创建时间(另有 updated_at) |
应答示例(data)
{
"app_id": "hv3f2a9c0d1e4b5a67",
"name": "官网登录",
"kinds": [
"slider",
"word"
],
"mech": "smart",
"silent": true,
"client_type": "web",
"silent_allowed": true,
"web_settings": true,
"help_url": "",
"lang": "auto",
"risk_level": "balance",
"domain_allow": [],
"domain_open": true,
"theme": "auto",
"sign_required": false,
"status": "enabled",
"enabled": true,
"creator": {
"type": "sub",
"display": "子账号 · ops"
},
"last_used_at": "",
"today_passed": 0,
"created_at": "2026-11-24 10:05:00",
"updated_at": "2026-11-24 10:05:00"
} 业务码
| code | 说明 |
|---|---|
69320 | 应用不存在 |
69324 | 读取失败,请稍后重试 |
签名认证失败与通用业务码见错误码。