Authorization

Before you can control or monitor your Seltron devices using the SeltronHome Cloud API, you must first acquire authorization credentials.

The SeltronHome Cloud API uses API keys that are both user-specific and product-specific.
Users can create subscriptions for Basic or Premium products and obtain two API keys — Primary and Secondary. Both keys are valid and can be used interchangeably.
All your API keys are mapped to your SeltronHome user account.

Each HTTP request must include the following Authorization Header:

Header Name: X-Api-Key Header Value: {your-api-key}

If the authorization header is valid, your request will be processed successfully.
Otherwise, the API will return a 401 Access Denied response.

Security Note
Please keep your API keys secure and avoid exposing them publicly.
If you suspect that your keys have been compromised, please use the Regenerate function:

Profile → Subscriptions → ... → Regenerate Primary or Secondary Key

The SeltronHome Cloud will automatically process the rotation request, and your new API key will become active immediately.