Skip to content

Cognitive Systems App Core API

The WiFi Motion Core APIs facilitate the creation, configuration, and management of WiFi Motion networks via RESTful APIs. Additionally, it offers interfaces for accessing topologies, events, and motion data. The only difference is that the Core APIs do not specifically reference a user, and instead provide you with the ability to query the data from any network that is available in the environment.

Download OpenAPI description
Languages
Servers
Mock server

https://docs.cognitivesystems.com/_mock/assets/specs/api/core/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Update an application configuration

Request

Updates an existing application configuration with provided fields. Only supplied fields will be updated.

Security
ApiKey
Path
network_idintegerrequired

Unique identifier of the network whose configuration should be managed

Bodyapplication/jsonrequired

Application configuration fields to update

network_idinteger(network_id)

The network identifier of the WiFi Motionâ„¢ network.

timezonestring(timezone)

Timezone configuration

enabledboolean(enabled)

The sleep settings enabled or disabled.

true Sleep settings are enabled

false Sleep settings are not enabled

sleep_hourinteger(sleep_hour)[ 0 .. 23 ]

Provides rough guidance to the WiFi Motionâ„¢ network as to the hour of day when the household initiates their sleeping pattern.

sleep_minuteinteger(sleep_minute)[ 0 .. 59 ]

Provides rough guidance to the WiFi Motionâ„¢ network as to the minute within the hour when the household initiates their sleeping pattern.

wake_hourinteger(wake_hour)[ 0 .. 23 ]

Provides rough guidance to the WiFi Motionâ„¢ network as to the hour of day when the household ends their sleeping pattern.

wake_minuteinteger(wake_minute)[ 0 .. 59 ]

Provides rough guidance to the WiFi Motionâ„¢ network as to the minute within the hour when the household ends their sleeping pattern.

curl -i -X PATCH \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "network_id": 0,
    "timezone": "string",
    "enabled": true,
    "sleep_hour": 23,
    "sleep_minute": 59,
    "wake_hour": 23,
    "wake_minute": 59
  }'

Responses

Configuration updated successfully

Bodyapplication/json
Response
application/json
{ "message": "Configuration updated successfully", "data": { "network_id": 369, "timezone": "America/New_York", "enabled": true, "sleep_hour": 22, "sleep_minute": 30, "wake_hour": 6, "wake_minute": 30, "created_at": "2025-06-17T18:51:22.140Z", "updated_at": "2025-06-17T19:02:23.869Z", "enabled_at": "2025-06-17T19:02:23.869Z" } }

Delete application configuration by network ID

Request

Deletes the application configuration settings for a specified network.

Security
ApiKey
Path
network_idintegerrequired

Unique identifier of the network whose configuration should be managed

curl -i -X DELETE \
  'https://docs.cognitivesystems.com/_mock/assets/specs/api/core/network/{network_id}/application/settings' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Application configuration deleted successfully

Bodyapplication/json
Response
application/json
{ "message": "Configuration deleted successfully" }
Operations
Operations
Operations