Called when a charger connects to the platform for the first time.
Returns device_id and device_secret which are then used to
obtain temporary access tokens via /v1/device/token.
curl --request POST \
--url https://api.telluspower.example.com/v1/device/register \
--header 'Content-Type: application/json' \
--data '
{
"sn": "SN1234567890",
"model": "AC-7kW-V2",
"manufacturer": "ChargeTech",
"firmware_version": "2.1.0",
"mac": "00:1A:2B:3C:4D:5E"
}
'{
"code": 0,
"message": "success",
"data": {
"device_id": "dvc_a1b2c3d4e5f6",
"device_secret": "sk_7g8h9j0k1l2m",
"expires_in": 86400
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telluspowergroup.com/llms.txt
Use this file to discover all available pages before exploring further.
Charger registered.
Standard response envelope. code is 0 on success and a non-zero
application code on error (see Error Codes — §14).
curl --request POST \
--url https://api.telluspower.example.com/v1/device/register \
--header 'Content-Type: application/json' \
--data '
{
"sn": "SN1234567890",
"model": "AC-7kW-V2",
"manufacturer": "ChargeTech",
"firmware_version": "2.1.0",
"mac": "00:1A:2B:3C:4D:5E"
}
'{
"code": 0,
"message": "success",
"data": {
"device_id": "dvc_a1b2c3d4e5f6",
"device_secret": "sk_7g8h9j0k1l2m",
"expires_in": 86400
}
}