---
title: "获取产品自定义信息详情"
method: POST
path: "/api/v1/things/product/custom/read"
tags: ["things/product/custom", "thingsProductCustom"]
---

# 获取产品自定义信息详情

`POST /api/v1/things/product/custom/read`

## Request body

- ProductCustomReadReq
  - `productID` string, required — 产品id 只读

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` ProductCustom
    - `customTopics` ProductCustomTopic[] — 自定义topic数组
      - `direction` integer, required — 1:上行 2:下行 3:双向
      - `topic` string, required — 自定义主题需要以$custom 并包含设备名称{deviceName}及产品名称{productID}
    - `loginAuthScript` string — 登录认证脚本
    - `productID` string, required
    - `scriptLang` integer — 脚本语言类型（默认JavaScript） 1:JavaScript 2:lua 3:python
    - `transformScript` string — 协议转换脚本
  - `msg` string

## Changes

- **2026-03-27** `b9582d0ab6af` — 1 breaking, 1 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
- **2025-03-14** `e87dbcac5d9e` — 2 breaking
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/unitedrhino/apis/things-api/changes/api/v1/things/product/custom/read/post.md)

---

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