Get button press events for sensor
curl --request POST \
--url https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor"
payload = {
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
createdAfterMs: 1640995200000,
createdBeforeMs: 1640995200000,
limit: 100,
sensorUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"createdAfterMs\": 1640995200000,\n \"createdBeforeMs\": 1640995200000,\n \"limit\": 100,\n \"sensorUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"events": [
{
"buttonPress": "NONE",
"componentCompositeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"newSupervisionState": "CUT_DETECTED",
"pressDurationMillis": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"correlationId": "<string>",
"createdAtMs": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ownerDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Button Webservice
Get button press events for sensor
Get list of button press events for button sensor
POST
/
api
/
button
/
getButtonPressEventsForSensor
Get button press events for sensor
curl --request POST \
--url https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'import requests
url = "https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor"
payload = {
"createdAfterMs": 1640995200000,
"createdBeforeMs": 1640995200000,
"limit": 100,
"sensorUuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
createdAfterMs: 1640995200000,
createdBeforeMs: 1640995200000,
limit: 100,
sensorUuid: 'AAAAAAAAAAAAAAAAAAAAAA'
})
};
fetch('https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/button/getButtonPressEventsForSensor")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"createdAfterMs\": 1640995200000,\n \"createdBeforeMs\": 1640995200000,\n \"limit\": 100,\n \"sensorUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\"\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"events": [
{
"buttonPress": "NONE",
"componentCompositeUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"newSupervisionState": "CUT_DETECTED",
"pressDurationMillis": 123,
"componentUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"correlationId": "<string>",
"createdAtMs": 123,
"locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"ownerDeviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Request to get button press events for a specific sensor.
Timestamp in milliseconds to get events created after this time
Example:
1640995200000
Timestamp in milliseconds to get events created before this time
Example:
1640995200000
Maximum number of events to return
Example:
100
base 64 (url-safe) uuid string
Example:
"AAAAAAAAAAAAAAAAAAAAAA"
Last modified on September 21, 2026