Authentication

All API requests require authentication using an API key. Your API key must be included in the request headers under the 'ApiKey' field.

API Key Format:

f76d******************d2a

For security, the key is partially masked when displayed.

Getting an API Key:

  1. Log in to the customer portal
  2. Navigate to "settings/api-keys"
  3. Follow the instructions to generate a new API key

AUTHENTICATION EXAMPLE

curl --location 'https://apidev.xbattery.energy/v1/devices/{deviceId}/telemetry' \
        -H 'ApiKey: f76d******************d2a'