Submit a device state
curl --request POST \
--url https://energy-api.flatpeak.com/devices/{device_id}/state \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"time_recorded": "2026-02-01T10:30:00Z",
"record_reference_id": "MET1234567890",
"battery": {
"state_of_charge_percent": 34.2,
"target_state_of_charge_percent": 80,
"power_kw": -3.4,
"energy_remaining_kwh": 8.3,
"temperature_c": 18.5,
"backup_reserve_percent": 20,
"strategy": "SELF_POWER",
"storm_mode_enabled": true,
"storm_mode_active": false,
"export_rule": "BATTERY_OK",
"charge_from_grid_enabled": true,
"grid_status": "ON_GRID"
},
"vehicle": {
"state_of_charge_percent": 62,
"charge_limit_percent": 80,
"energy_remaining_kwh": 39.7,
"plugged_in": true,
"charging_state": "CHARGING",
"time_departure": "2026-02-01T07:30:00Z",
"range_km": 180,
"max_charging_power_kw": 7.4
},
"evse": {
"plugged_in": true,
"charging_state": "CHARGING",
"power_kw": 7.2,
"max_charging_power_kw": 7.4
},
"pv": {
"power_kw": 4.2
}
}
'import requests
url = "https://energy-api.flatpeak.com/devices/{device_id}/state"
payload = {
"time_recorded": "2026-02-01T10:30:00Z",
"record_reference_id": "MET1234567890",
"battery": {
"state_of_charge_percent": 34.2,
"target_state_of_charge_percent": 80,
"power_kw": -3.4,
"energy_remaining_kwh": 8.3,
"temperature_c": 18.5,
"backup_reserve_percent": 20,
"strategy": "SELF_POWER",
"storm_mode_enabled": True,
"storm_mode_active": False,
"export_rule": "BATTERY_OK",
"charge_from_grid_enabled": True,
"grid_status": "ON_GRID"
},
"vehicle": {
"state_of_charge_percent": 62,
"charge_limit_percent": 80,
"energy_remaining_kwh": 39.7,
"plugged_in": True,
"charging_state": "CHARGING",
"time_departure": "2026-02-01T07:30:00Z",
"range_km": 180,
"max_charging_power_kw": 7.4
},
"evse": {
"plugged_in": True,
"charging_state": "CHARGING",
"power_kw": 7.2,
"max_charging_power_kw": 7.4
},
"pv": { "power_kw": 4.2 }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
time_recorded: '2026-02-01T10:30:00Z',
record_reference_id: 'MET1234567890',
battery: {
state_of_charge_percent: 34.2,
target_state_of_charge_percent: 80,
power_kw: -3.4,
energy_remaining_kwh: 8.3,
temperature_c: 18.5,
backup_reserve_percent: 20,
strategy: 'SELF_POWER',
storm_mode_enabled: true,
storm_mode_active: false,
export_rule: 'BATTERY_OK',
charge_from_grid_enabled: true,
grid_status: 'ON_GRID'
},
vehicle: {
state_of_charge_percent: 62,
charge_limit_percent: 80,
energy_remaining_kwh: 39.7,
plugged_in: true,
charging_state: 'CHARGING',
time_departure: '2026-02-01T07:30:00Z',
range_km: 180,
max_charging_power_kw: 7.4
},
evse: {
plugged_in: true,
charging_state: 'CHARGING',
power_kw: 7.2,
max_charging_power_kw: 7.4
},
pv: {power_kw: 4.2}
})
};
fetch('https://energy-api.flatpeak.com/devices/{device_id}/state', 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://energy-api.flatpeak.com/devices/{device_id}/state",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'time_recorded' => '2026-02-01T10:30:00Z',
'record_reference_id' => 'MET1234567890',
'battery' => [
'state_of_charge_percent' => 34.2,
'target_state_of_charge_percent' => 80,
'power_kw' => -3.4,
'energy_remaining_kwh' => 8.3,
'temperature_c' => 18.5,
'backup_reserve_percent' => 20,
'strategy' => 'SELF_POWER',
'storm_mode_enabled' => true,
'storm_mode_active' => false,
'export_rule' => 'BATTERY_OK',
'charge_from_grid_enabled' => true,
'grid_status' => 'ON_GRID'
],
'vehicle' => [
'state_of_charge_percent' => 62,
'charge_limit_percent' => 80,
'energy_remaining_kwh' => 39.7,
'plugged_in' => true,
'charging_state' => 'CHARGING',
'time_departure' => '2026-02-01T07:30:00Z',
'range_km' => 180,
'max_charging_power_kw' => 7.4
],
'evse' => [
'plugged_in' => true,
'charging_state' => 'CHARGING',
'power_kw' => 7.2,
'max_charging_power_kw' => 7.4
],
'pv' => [
'power_kw' => 4.2
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://energy-api.flatpeak.com/devices/{device_id}/state"
payload := strings.NewReader("{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://energy-api.flatpeak.com/devices/{device_id}/state")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://energy-api.flatpeak.com/devices/{device_id}/state")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}"
response = http.request(request)
puts response.read_body{
"device_id": "dev_6563a6757360a6d6a628e839",
"id": "dsr_6a284b7596d3f2b722544e70",
"account_id": "acc_661677911f2197045e6cf1b1",
"time_created": "2026-02-01T10:33:00Z",
"object": "device_state"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}Device state
Submit a device state
Submits the current operational state of a device, such as battery state of charge and power.
POST
/
devices
/
{device_id}
/
state
Submit a device state
curl --request POST \
--url https://energy-api.flatpeak.com/devices/{device_id}/state \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"time_recorded": "2026-02-01T10:30:00Z",
"record_reference_id": "MET1234567890",
"battery": {
"state_of_charge_percent": 34.2,
"target_state_of_charge_percent": 80,
"power_kw": -3.4,
"energy_remaining_kwh": 8.3,
"temperature_c": 18.5,
"backup_reserve_percent": 20,
"strategy": "SELF_POWER",
"storm_mode_enabled": true,
"storm_mode_active": false,
"export_rule": "BATTERY_OK",
"charge_from_grid_enabled": true,
"grid_status": "ON_GRID"
},
"vehicle": {
"state_of_charge_percent": 62,
"charge_limit_percent": 80,
"energy_remaining_kwh": 39.7,
"plugged_in": true,
"charging_state": "CHARGING",
"time_departure": "2026-02-01T07:30:00Z",
"range_km": 180,
"max_charging_power_kw": 7.4
},
"evse": {
"plugged_in": true,
"charging_state": "CHARGING",
"power_kw": 7.2,
"max_charging_power_kw": 7.4
},
"pv": {
"power_kw": 4.2
}
}
'import requests
url = "https://energy-api.flatpeak.com/devices/{device_id}/state"
payload = {
"time_recorded": "2026-02-01T10:30:00Z",
"record_reference_id": "MET1234567890",
"battery": {
"state_of_charge_percent": 34.2,
"target_state_of_charge_percent": 80,
"power_kw": -3.4,
"energy_remaining_kwh": 8.3,
"temperature_c": 18.5,
"backup_reserve_percent": 20,
"strategy": "SELF_POWER",
"storm_mode_enabled": True,
"storm_mode_active": False,
"export_rule": "BATTERY_OK",
"charge_from_grid_enabled": True,
"grid_status": "ON_GRID"
},
"vehicle": {
"state_of_charge_percent": 62,
"charge_limit_percent": 80,
"energy_remaining_kwh": 39.7,
"plugged_in": True,
"charging_state": "CHARGING",
"time_departure": "2026-02-01T07:30:00Z",
"range_km": 180,
"max_charging_power_kw": 7.4
},
"evse": {
"plugged_in": True,
"charging_state": "CHARGING",
"power_kw": 7.2,
"max_charging_power_kw": 7.4
},
"pv": { "power_kw": 4.2 }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
time_recorded: '2026-02-01T10:30:00Z',
record_reference_id: 'MET1234567890',
battery: {
state_of_charge_percent: 34.2,
target_state_of_charge_percent: 80,
power_kw: -3.4,
energy_remaining_kwh: 8.3,
temperature_c: 18.5,
backup_reserve_percent: 20,
strategy: 'SELF_POWER',
storm_mode_enabled: true,
storm_mode_active: false,
export_rule: 'BATTERY_OK',
charge_from_grid_enabled: true,
grid_status: 'ON_GRID'
},
vehicle: {
state_of_charge_percent: 62,
charge_limit_percent: 80,
energy_remaining_kwh: 39.7,
plugged_in: true,
charging_state: 'CHARGING',
time_departure: '2026-02-01T07:30:00Z',
range_km: 180,
max_charging_power_kw: 7.4
},
evse: {
plugged_in: true,
charging_state: 'CHARGING',
power_kw: 7.2,
max_charging_power_kw: 7.4
},
pv: {power_kw: 4.2}
})
};
fetch('https://energy-api.flatpeak.com/devices/{device_id}/state', 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://energy-api.flatpeak.com/devices/{device_id}/state",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'time_recorded' => '2026-02-01T10:30:00Z',
'record_reference_id' => 'MET1234567890',
'battery' => [
'state_of_charge_percent' => 34.2,
'target_state_of_charge_percent' => 80,
'power_kw' => -3.4,
'energy_remaining_kwh' => 8.3,
'temperature_c' => 18.5,
'backup_reserve_percent' => 20,
'strategy' => 'SELF_POWER',
'storm_mode_enabled' => true,
'storm_mode_active' => false,
'export_rule' => 'BATTERY_OK',
'charge_from_grid_enabled' => true,
'grid_status' => 'ON_GRID'
],
'vehicle' => [
'state_of_charge_percent' => 62,
'charge_limit_percent' => 80,
'energy_remaining_kwh' => 39.7,
'plugged_in' => true,
'charging_state' => 'CHARGING',
'time_departure' => '2026-02-01T07:30:00Z',
'range_km' => 180,
'max_charging_power_kw' => 7.4
],
'evse' => [
'plugged_in' => true,
'charging_state' => 'CHARGING',
'power_kw' => 7.2,
'max_charging_power_kw' => 7.4
],
'pv' => [
'power_kw' => 4.2
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://energy-api.flatpeak.com/devices/{device_id}/state"
payload := strings.NewReader("{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://energy-api.flatpeak.com/devices/{device_id}/state")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://energy-api.flatpeak.com/devices/{device_id}/state")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"time_recorded\": \"2026-02-01T10:30:00Z\",\n \"record_reference_id\": \"MET1234567890\",\n \"battery\": {\n \"state_of_charge_percent\": 34.2,\n \"target_state_of_charge_percent\": 80,\n \"power_kw\": -3.4,\n \"energy_remaining_kwh\": 8.3,\n \"temperature_c\": 18.5,\n \"backup_reserve_percent\": 20,\n \"strategy\": \"SELF_POWER\",\n \"storm_mode_enabled\": true,\n \"storm_mode_active\": false,\n \"export_rule\": \"BATTERY_OK\",\n \"charge_from_grid_enabled\": true,\n \"grid_status\": \"ON_GRID\"\n },\n \"vehicle\": {\n \"state_of_charge_percent\": 62,\n \"charge_limit_percent\": 80,\n \"energy_remaining_kwh\": 39.7,\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"time_departure\": \"2026-02-01T07:30:00Z\",\n \"range_km\": 180,\n \"max_charging_power_kw\": 7.4\n },\n \"evse\": {\n \"plugged_in\": true,\n \"charging_state\": \"CHARGING\",\n \"power_kw\": 7.2,\n \"max_charging_power_kw\": 7.4\n },\n \"pv\": {\n \"power_kw\": 4.2\n }\n}"
response = http.request(request)
puts response.read_body{
"device_id": "dev_6563a6757360a6d6a628e839",
"id": "dsr_6a284b7596d3f2b722544e70",
"account_id": "acc_661677911f2197045e6cf1b1",
"time_created": "2026-02-01T10:33:00Z",
"object": "device_state"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "not_found",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}Body
application/json
The current operational state of a device, grouped by subsystem. Include only the subsystems the device has. At least one subsystem block must be present.
Response
Device state response.
Was this page helpful?

