Cognitive Systems App Cloud API
The AppCloud APIs are used by mobile applications to communicate with the Cognitive Systems Infrastructure.
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/
https://docs.cognitivesystems.com/api/v1/
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices
https://docs.cognitivesystems.com/api/v1/sensors/devices
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices
{ "devices": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}
https://docs.cognitivesystems.com/api/v1/sensors/devices/{THING_NAME}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}'
{ "id": 1, "network_id": 1, "external_id": 4, "userThingName": "USER_c9d3c1ee5cd2458da1843095422f4141", "thingName": "SENSOR_282C02BFFFECBFEC", "config": { "notify": true, "online": true, "status": "closed", "batteryLevel": 100, "friendlyName": "Door Sensor 1" }, "deviceType": "SensorDoor", "purpose": "", "created_at": "2025-07-15T17:08:48.732Z", "updated_at": "2025-07-16T18:06:19.312Z" }
Request
Updates the configuration of a sensor or hub.
IMPORTANT: The app must set notify
: true
. The cloud cannot do this on the occurrence of the DeviceAddedEvent because of a ThirdReality and App Cloud race condition. (3R propogates the device added faster than the device record in their cloud).
Propagates an IntegrationsConfigChangedEvent
containing the payload of the configuration change.
Email notification of sensor detections. App Cloud will always override this to false
because account identifiers in ThirdReality are anonymous and uniquely system generated strings with no real world email inbox.
Location name of a sensor, stored within App Cloud only and associated to sensor events.
Sets the expected temperature delta for which a s SensorChangedValue event is sent from ThirdReality.
Sets the expected humidity delta for which a SensorChangedValue event is sent from ThirdReality.
Enables the sensor eventing for a given sensor. Newly added sensors default to false
and must be changed to true
for App Cloud to receive and store sensor values.
Defines the expected assignment or purpose of a given sensor for sensor event pattern detection and correlation to WiFi Motionâ„¢. Enables labeled data consistency in analytics and household occupancy trend analysis.
Any one of:
FrontDoorVibration
BackDoorVibration
RefrigeratorVibration
BathroomSensor
DoorSensor
MainHub
SecondaryHub
SideDoorVibration
- Mock server
https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}
https://docs.cognitivesystems.com/api/v1/sensors/devices/{THING_NAME}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.cognitivesystems.com/_mock/assets/specs/api/app_cloud/sensors/devices/{THING_NAME}' \
-H 'Content-Type: application/json' \
-d '{
"notify": true,
"friendlyName": "Grandma'\''s Bathroom",
"locationName": "Upstairs Bathroom",
"tempThreshold": 5,
"humidThreshold": 5,
"purpose": "BathroomSensor"
}'
{ "id": 3, "network_id": 1, "external_id": 4, "userThingName": "USER_c9d3c1ee5cd2458da1843095422f4141", "thingName": "SENSOR_7C3E822F74460000", "config": { "notify": true, "online": false, "humidity": 68, "emailNotify": false, "temperature": 23.1, "batteryLevel": 100, "friendlyName": "Grandma's Bathroom", "locationName": "Upstairs Bathroom", "tempThreshold": 5, "humidThreshold": 5 }, "deviceType": "SensorThLite", "purpose": "BathroomSensor", "created_at": "2025-07-15T17:08:48.732Z", "updated_at": "2025-07-16T18:28:27.760Z" }