Console
The console manages apps, API keys, and PC activation codes under an Open Platform account.
App Management
An app is the ownership unit for API keys. When creating an app, provide:
| Field | Notes |
|---|---|
| App name | Display name for a team or integration project. |
| Remark | Optional deployment, customer, system, or owner information. |
After creation, the app has an appId and appKey. API keys are created under an app.
API Key Management
For international deployments:
- Online API Keys (
online_api_key): each app is limited to 5 devices. This is a per-app limit, not a per-key limit. - Offline API Keys (
offline_api_key): contact service@czur.com to request one. Once your account is authorized, you can create and rotate Offline API Keys in the console. Requesting a key and activating a PC are separate steps.
When creating an API key, confirm:
| Item | Notes |
|---|---|
| Key name | Include environment and purpose, such as prod-capture-svip. |
| License mode | online_api_key for online capabilities, offline_api_key for offline capabilities. |
| SDK tier | vip, svip, or svip_plus. |
| Expiration | Empty or non-positive expireDays means no explicit expiration; expiresAt can also be set. |
| Device scope | deviceScope controls devices accessible by the local runtime. |
The full key is shown only once. If it is lost, rotate the key.
Rotation and Revocation
- Rotation: copies the original key's mode, tier, device scope, and expiration, issues a new key, and marks the old key as
REVOKED. - Revocation: immediately makes the key unusable. Clients should stop the current session and clear local configuration.
PC Machine Activation Codes
PC machine activation is required only when you want to use Open SDK without a CZUR device. It activates the PC running the SDK, not a scanner. When using a CZUR device, no additional PC activation is required; a valid API Key, device authorization scope, and SDK entitlement checks still apply.
The following console workflow generates a PC activation code for this scenario. It is separate from requesting an Offline API Key.
- The client or SDK runtime gets a machine code.
- Enter
machineCodein the console. - Generate
authorizationCode. - Activate the current local session with
auth.activate_offline.
Limits:
- Each Open Platform account can activate at most 2 different PCs.
- Re-submitting the same non-expired machine code returns the existing activation code.
- Expired machine codes cannot be renewed.
- Activation codes are valid for 30 days by default.
The 2-PC and 30-day validity policy is for Open Platform trial/test PC activation. It is separate from the 5-device-per-app limit for Online API Keys. For more PCs, commercial rollout, or adjusted activation quota and validity, contact service@czur.com.
Relationship to SDK Runtime
The console issues and manages credentials; the SDK runtime uses them locally. Typical flow:
Create API key in console
-> local runtime auth.create_session
-> call capabilities according to auth_context.capabilities and device_scope
-> online capabilities validate and consume quota through the gateway