# 硬件设备 接口列表

```json
[
  {
    "接口名称": "[发送设备消息](/miniprogram/dev/server/API/hardware-device/api_sendhardwaredevicemessage)",
    "请求路径": "/cgi-bin/message/device/subscribe/send",
    "描述": "通过该接口向用户发送设备消息"
  },
  {
    "接口名称": "[获取设备票据](/miniprogram/dev/server/API/hardware-device/api_getsnticket)",
    "请求路径": "/wxa/getsnticket",
    "描述": "通过该接口可获取设备票据，5 分钟内有效"
  },
  {
    "接口名称": "[创建设备组](/miniprogram/dev/server/API/hardware-device/api_createiotgroupid)",
    "请求路径": "/wxa/business/group/createid",
    "描述": "本接口用于创建设备组，便于用户一次性订阅多个设备"
  },
  {
    "接口名称": "[查询设备组信息](/miniprogram/dev/server/API/hardware-device/api_getiotgroupinfo)",
    "请求路径": "/wxa/business/group/getinfo",
    "描述": "本接口用于查询设备组的信息"
  },
  {
    "接口名称": "[设备组添加设备](/miniprogram/dev/server/API/hardware-device/api_addiotgroupdevice)",
    "请求路径": "/wxa/business/group/adddevice",
    "描述": "本接口用于为设备组添加设备"
  },
  {
    "接口名称": "[设备组删除设备](/miniprogram/dev/server/API/hardware-device/api_removeiotgroupdevice)",
    "请求路径": "/wxa/business/group/removedevice",
    "描述": "本接口为设备组删除已添加的设备"
  },
  {
    "接口名称": "[查询license资源包列表](/miniprogram/dev/server/API/hardware-device/api_getlicensepkglist)",
    "请求路径": "/wxa/business/license/getpkglist",
    "描述": "查询小程序已购买的 license 资源包列表信息"
  },
  {
    "接口名称": "[激活设备license](/miniprogram/dev/server/API/hardware-device/api_activelicensedevice)",
    "请求路径": "/wxa/business/license/activedevice",
    "描述": "该接口用于批量绑定设备，并消耗相应的资源包中的激活码序号"
  },
  {
    "接口名称": "[查询设备激活详情](/miniprogram/dev/server/API/hardware-device/api_getlicensedeviceinfo)",
    "请求路径": "/wxa/business/license/getdeviceinfo",
    "描述": "该接口用于批量查询设备剩余有效期"
  }
]
```
