Create a credential
Secrets are stored server-side as hashes and never returned by list endpoints; credentials can be revoked at any time and take effect immediately.
- 1[object Object]
- 2[object Object]
- 3[object Object]
- Open "Credentials" and click new.
- Enter a credential name that states the purpose and the consumer (for example "ERP integration-production").
- Bind the product scope the credential may see; select only the data that is really needed.
- After saving, copy the AppKey and AppSecret immediately: the AppSecret is shown in plain text only once, at creation.
- Hand the secret to the integrating party through a secure channel — not in a ticket or a chat log.
NoteThe AppSecret is stored server-side as a BCrypt hash, and the platform cannot display it again. If it is lost, generate a new one.
Call the API
Each request carries two headers for authentication:
- X-App-Key: the AppKey of the credential.
- X-App-Secret: the AppSecret of the credential.
- Product list: query products within the credential scope, filterable by name, category and industry.
- Device list: query devices under a given product, filterable by name and status.
- Device data: query a given device’s time-series data with a time range and row limit.
NoteOpen API authentication is fully isolated from user login: a leaked credential cannot affect account security inside the platform, and conversely platform accounts cannot call the open API.
Credentials in data screens
- Data screens read data through a canvas-level credential, using the same credential system.
- A screen stores only the credential ID, never the secret; the data is fetched through the backend.
- So even if a screen’s JSON is exported, no secret is exposed.
Security and maintenance
- One credential per consumer; do not share them, so that problems are easy to trace and revoke.
- When people change roles or an integration ends, revoke the matching credential and access stops immediately.
- Grant the minimum necessary product scope instead of selecting everything for convenience.
- Review the credential list periodically and clean up credentials that have not been used for a long time.