Operator — Sites & Devices
Get charger details
Retrieves detailed information about a specific charger, including connector states.
Related: proposed extensions to this entity (component-level health, OCPP version metadata) are documented in Proposed Extensions.
GET
/
operator
/
devices
/
{device_id}
Get charger details
curl --request GET \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telluspower.example.com/v1/operator/devices/{device_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telluspower.example.com/v1/operator/devices/{device_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telluspower.example.com/v1/operator/devices/{device_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telluspower.example.com/v1/operator/devices/{device_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.telluspower.example.com/v1/operator/devices/{device_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telluspower.example.com/v1/operator/devices/{device_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": 123,
"message": "<string>",
"data": {
"device_id": "dvc_a1b2c3d4e5f6",
"sn": "SN1234567890",
"model": "AC-7kW-V2",
"manufacturer": "ChargeTech",
"firmware_version": "2.1.0",
"status": "online",
"connectors": [
{
"connector_id": 1,
"status": "charging",
"power": 6.8,
"current": 30.5,
"voltage": 223,
"energy_delivered": 12.3,
"soc": 55,
"temperature": 38,
"last_telemetry_time": "2025-03-15T11:00:00Z"
}
],
"last_heartbeat": "2025-03-15T11:00:00Z",
"site_id": "site_001"
}
}{
"code": 1001,
"message": "Parameter 'power' must be positive",
"details": {
"field": "power",
"value": -5
}
}Authorizations
OAuth2 client-credentials grant for operator-side integrations.
Obtain an access token by POSTing client_id and client_secret
to /v1/operator/oauth/token. Tokens are valid for 24 hours
(86,400 seconds).
Path Parameters
Response
Device returned.
Standard response envelope. code is 0 on success and a non-zero
application code on error (see Error Codes — §14).
0 = success; otherwise an error code per the Error Codes section.
Human-readable description.
Endpoint-specific payload.
Show child attributes
Show child attributes
Example:
{
"device_id": "dvc_a1b2c3d4e5f6",
"sn": "SN1234567890",
"model": "AC-7kW-V2",
"manufacturer": "ChargeTech",
"firmware_version": "2.1.0",
"status": "online",
"connectors": [
{
"connector_id": 1,
"status": "charging",
"power": 6.8,
"current": 30.5,
"voltage": 223,
"energy_delivered": 12.3,
"soc": 55,
"temperature": 38,
"last_telemetry_time": "2025-03-15T11:00:00Z"
}
],
"last_heartbeat": "2025-03-15T11:00:00Z",
"site_id": "site_001"
}
⌘I
Get charger details
curl --request GET \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telluspower.example.com/v1/operator/devices/{device_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telluspower.example.com/v1/operator/devices/{device_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telluspower.example.com/v1/operator/devices/{device_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telluspower.example.com/v1/operator/devices/{device_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.telluspower.example.com/v1/operator/devices/{device_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telluspower.example.com/v1/operator/devices/{device_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": 123,
"message": "<string>",
"data": {
"device_id": "dvc_a1b2c3d4e5f6",
"sn": "SN1234567890",
"model": "AC-7kW-V2",
"manufacturer": "ChargeTech",
"firmware_version": "2.1.0",
"status": "online",
"connectors": [
{
"connector_id": 1,
"status": "charging",
"power": 6.8,
"current": 30.5,
"voltage": 223,
"energy_delivered": 12.3,
"soc": 55,
"temperature": 38,
"last_telemetry_time": "2025-03-15T11:00:00Z"
}
],
"last_heartbeat": "2025-03-15T11:00:00Z",
"site_id": "site_001"
}
}{
"code": 1001,
"message": "Parameter 'power' must be positive",
"details": {
"field": "power",
"value": -5
}
}