---
title: "设备自动注册"
method: POST
path: "/api/v1/things/device/auth/register"
tags: ["things/device/auth", "thingsDeviceAuth"]
---

# 设备自动注册

`POST /api/v1/things/device/auth/register`

## Request body

- DeviceRegisterReq
  - `deviceName` string, required — 设备名称 读写
  - `nonce` integer, required — 随机数
  - `productID` string, required — 产品id 只读
  - `signature` string, required — 签名信息
  - `timestamp` integer, required — 秒级时间戳

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` DeviceRegisterResp
    - `len` integer, required — payload加密前信息的长度
    - `payload` string, required
  - `msg` string

---

[API](https://skmtc.net/unitedrhino/apis/things-api.md) · [All operations](https://skmtc.net/unitedrhino/apis/things-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unitedrhino/things-api/revisions/f3bdeb916389/schema)
