curl --request PUT \
--url https://api.orbital-systems.com/client/history/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"feedback_rating": 5,
"feedback_text": "Perfect temperature",
"updated_at": "2026-10-28T17:03:10.000Z"
}
'import requests
url = "https://api.orbital-systems.com/client/history/{id}"
payload = {
"feedback_rating": 5,
"feedback_text": "Perfect temperature",
"updated_at": "2026-10-28T17:03:10.000Z"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feedback_rating: 5,
feedback_text: 'Perfect temperature',
updated_at: '2026-10-28T17:03:10.000Z'
})
};
fetch('https://api.orbital-systems.com/client/history/{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.orbital-systems.com/client/history/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'feedback_rating' => 5,
'feedback_text' => 'Perfect temperature',
'updated_at' => '2026-10-28T17:03:10.000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://api.orbital-systems.com/client/history/{id}"
payload := strings.NewReader("{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api.orbital-systems.com/client/history/{id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbital-systems.com/client/history/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}"
response = http.request(request)
puts response.read_body{
"id": "1730530800000",
"session_id": "1730530800000",
"timestamp": "2026-11-02T06:20:00.000Z",
"type": "shower",
"session_type": "SHOWER",
"shower_id": "0b7a6c1e-5f2d-4c3b-8a9e-1d2f3a4b5c6d",
"saved_water": 42.5,
"saved_energy": 1.84,
"active_duration": 420,
"avg_temperature": 38.2,
"avg_user_temperature": 38,
"filter_status": 72,
"feedback_rating": 5,
"feedback_text": "Perfect temperature"
}{
"message": "Unauthorized",
"statusCode": 401,
"name": "UnauthorizedError"
}{
"message": "Session not found",
"statusCode": 404,
"name": "NotFoundError"
}{
"message": "Internal server error"
}Update history
curl --request PUT \
--url https://api.orbital-systems.com/client/history/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"feedback_rating": 5,
"feedback_text": "Perfect temperature",
"updated_at": "2026-10-28T17:03:10.000Z"
}
'import requests
url = "https://api.orbital-systems.com/client/history/{id}"
payload = {
"feedback_rating": 5,
"feedback_text": "Perfect temperature",
"updated_at": "2026-10-28T17:03:10.000Z"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
feedback_rating: 5,
feedback_text: 'Perfect temperature',
updated_at: '2026-10-28T17:03:10.000Z'
})
};
fetch('https://api.orbital-systems.com/client/history/{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.orbital-systems.com/client/history/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'feedback_rating' => 5,
'feedback_text' => 'Perfect temperature',
'updated_at' => '2026-10-28T17:03:10.000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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://api.orbital-systems.com/client/history/{id}"
payload := strings.NewReader("{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api.orbital-systems.com/client/history/{id}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbital-systems.com/client/history/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"feedback_rating\": 5,\n \"feedback_text\": \"Perfect temperature\",\n \"updated_at\": \"2026-10-28T17:03:10.000Z\"\n}"
response = http.request(request)
puts response.read_body{
"id": "1730530800000",
"session_id": "1730530800000",
"timestamp": "2026-11-02T06:20:00.000Z",
"type": "shower",
"session_type": "SHOWER",
"shower_id": "0b7a6c1e-5f2d-4c3b-8a9e-1d2f3a4b5c6d",
"saved_water": 42.5,
"saved_energy": 1.84,
"active_duration": 420,
"avg_temperature": 38.2,
"avg_user_temperature": 38,
"filter_status": 72,
"feedback_rating": 5,
"feedback_text": "Perfect temperature"
}{
"message": "Unauthorized",
"statusCode": 401,
"name": "UnauthorizedError"
}{
"message": "Session not found",
"statusCode": 404,
"name": "NotFoundError"
}{
"message": "Internal server error"
}Authorizations
Send your API key in the x-api-key header of every request. The key belongs to one Orbital account, and requests act as that account: they see and control only the devices it owns or has been given access to. A missing or unknown key gets 403 with { "message": "Forbidden" }.
Path Parameters
ID of the session record, id in the history lists
Body
Response
Success
ID of the session record. Use it with PUT /client/history/{id} and GET /client/history-metadata/{id}.
"1730530800000"
ID of the session.
"1730530800000"
When the session started (ISO 8601).
"2026-11-02T06:20:00.000Z"
Kind of session, shower for a shower session. The history lists only return shower sessions.
"shower"
Kind of session as reported by the shower, SHOWER for a shower session. Not set by older showers.
"SHOWER"
ID of the shower.
"0b7a6c1e-5f2d-4c3b-8a9e-1d2f3a4b5c6d"
Water saved by recirculating, in litres.
42.5
Energy saved by recirculating, in kWh, after subtracting the electricity the shower used. 0 when nothing was saved.
1.84
Time spent showering, in seconds.
420
Average water temperature while showering, in °C.
38.2
Average temperature setpoint while showering, in °C.
38
Filter life left after the session, in percent (0–100).
72
Rating of the session. The Orbital app uses whole stars from 1 to 5.
5
Comment on the session.
"Perfect temperature"
Was this page helpful?