🚧 The Rhombus Developer Documentation is currently in beta. For the official documentation, please visit docs.rhombus.com.
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"
}
'{
"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",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Get list of button press events for button 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"
}
'{
"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",
"timestampMs": 123,
"type": "DoorbellEvent",
"uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
],
"warningMsg": "<string>"
}Your API key for Rhombus.
Authentication scheme indicator ("api-token").
9Request to get button press events for a specific sensor.
Timestamp in milliseconds to get events created after this time
1640995200000
Timestamp in milliseconds to get events created before this time
1640995200000
Maximum number of events to return
100
base 64 (url-safe) uuid string
"AAAAAAAAAAAAAAAAAAAAAA"
Was this page helpful?