Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 766 Bytes

getNotifications.md

File metadata and controls

41 lines (32 loc) · 766 Bytes

Get Account Nofification Flags

GET /api/v1/accounts/{AccountID}/notifications/configuration

Headers

  • TOKEN-AUTH - session auth token

Response

Flag status for various notifications, see example

Example Request

curl --request GET \
  --url https://rest-prod.immedia-semi.com/api/v1/accounts/1234/notifications/configuration \
  --header 'token-auth: {Auth_TOKEN}'

Example Response

200 OK

{
  "notifications": {
    "low_battery": true,
    "camera_offline": true,
    "camera_usage": true,
    "scheduling": true,
    "motion": true,
    "sync_module_offline": true,
    "temperature": true,
    "doorbell": true,
    "wifi": true,
    "lfr": true,
    "bandwidth": true,
    "battery_dead": true
  }
}