Skip to content
Home
Overview
Overview
Users
Overview
Overview
Fire
Overview
Overview
Water
Overview
Overview
Access
Overview
Overview
Energy
Overview
Overview
Misc
Overview
Overview
Other
Overview

Arguments

hubId
String!,non-nullrequired
homeKitSetupPayload
String!,non-nullrequired

Return type

HubGetDppPayload!
dppPayload
String
errors
Query sample
query hubGetDppPayload($hubId: String!, $homeKitSetupPayload: String!) {
  hubGetDppPayload(hubId: $hubId, homeKitSetupPayload: $homeKitSetupPayload) {
    dppPayload 
    errors {
      message 
      path 
    }
  }
}
Variables
{ "hubId": "Example String", "homeKitSetupPayload": "Example String" }
Response sample
{ "data": { "dppPayload": "Example String", "errors": [ { "message": "Example String", "path": "Example String" } ] } }

Return type

[HubTemplate!]!
id
ID!,non-null
name
String!,non-null
hubAssetUrl
String!,non-null
hubWithBgAssetUrl
String!,non-null
hubQrCodeAssetUrl
String!,non-null
hubConnectionAssetUrl
String!,non-null
hubSearchAssetUrl
String!,non-null
waterLeakDetectorAssetUrl
String!,non-null
waterLeakDetectorInstructionsAssetUrl
String!,non-null
waterLeakDetectorHelpAssetUrl
String!,non-null
waterSensorTapeAssetUrl
String!,non-null
waterSensorTapeInstructionsAssetUrl
String!,non-null
waterLeakSystemPressHubButtonAssetUrl
String!,non-null
sintefLogoAssetUrl
String!,non-null
Query sample
query hubTemplates {
  hubTemplates {
    id 
    name 
    hubAssetUrl 
    hubWithBgAssetUrl 
    hubQrCodeAssetUrl 
    hubConnectionAssetUrl 
    hubSearchAssetUrl 
    waterLeakDetectorAssetUrl 
    waterLeakDetectorInstructionsAssetUrl 
    waterLeakDetectorHelpAssetUrl 
    waterSensorTapeAssetUrl 
    waterSensorTapeInstructionsAssetUrl 
    waterLeakSystemPressHubButtonAssetUrl 
    sintefLogoAssetUrl 
  }
}
Response sample
{ "data": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "hubAssetUrl": "Example String", "hubWithBgAssetUrl": "Example String", "hubQrCodeAssetUrl": "Example String", "hubConnectionAssetUrl": "Example String", "hubSearchAssetUrl": "Example String", "waterLeakDetectorAssetUrl": "Example String", "waterLeakDetectorInstructionsAssetUrl": "Example String", "waterLeakDetectorHelpAssetUrl": "Example String", "waterSensorTapeAssetUrl": "Example String", "waterSensorTapeInstructionsAssetUrl": "Example String", "waterLeakSystemPressHubButtonAssetUrl": "Example String", "sintefLogoAssetUrl": "Example String" } ] }

Return type

Account
id
ID!,non-null
email
String!,non-null
emailVerified
Boolean!,non-null
phoneNumber
firstName
String
lastName
String
avatar
Avatardeprecated
Deprecation reason

use avatarV2

avatarV2
uploadFile
roles
[Role!]!,non-null
Query sample
query userMyAccount {
  userMyAccount {
    id 
    email 
    emailVerified 
    phoneNumber {
      countryCode 
      nationalNumber 
    }
    firstName 
    lastName 
    avatar {
      url 
      urlSmall 
      urlMedium 
      urlLarge 
      uploadUrl 
    }
    avatarV2(
      # Arguments Here
    ) {
      url {
        original 
        small 
        medium 
        large 
      }
      uploadUrl 
    }
    roles 
  }
}
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "email": "Example String", "emailVerified": true, "phoneNumber": { "countryCode": "Example String", "nationalNumber": "Example String" }, "firstName": "Example String", "lastName": "Example String", "avatar": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String", "uploadUrl": "Example String" }, "avatarV2": { "url": { "original": "Example String", "small": "Example String", "medium": "Example String", "large": "Example String" }, "uploadUrl": "Example String" }, "roles": [ "INSTALLER" ] } }

Return type

AccountPreferences
alarmPreferences
notificationPreferences
generalPreferences
Query sample
query userPreferences {
  userPreferences {
    alarmPreferences {
      securityShowArmConfirmationModal 
    }
    notificationPreferences {
      notificationsEnabled 
    }
    generalPreferences {
      betaVersion 
      experimentalVersion 
    }
  }
}
Response sample
{ "data": { "alarmPreferences": { "securityShowArmConfirmationModal": true }, "notificationPreferences": { "notificationsEnabled": true }, "generalPreferences": { "betaVersion": true, "experimentalVersion": true } } }

Return type

InboxNotificationCollection
notifications
Query sample
query notificationsInbox {
  notificationsInbox {
    notifications {
      id 
      message {
        title 
        body 
      }
      deepLink 
      receivedAt 
      read 
      context {
        kind 
        source 
      }
    }
  }
}
Response sample
{ "data": { "notifications": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "message": { "title": "Example String", "body": "Example String" }, "deepLink": "Example String", "receivedAt": "Example String", "read": true, "context": { "kind": "UNSPECIFIED", "source": "UNSPECIFIED" } } ] } }

Arguments

homeId
ID!,non-nullrequired

Return type

InsuranceCompanyCollection
insuranceCompanies
Query sample
query insuranceCompanies($homeId: ID!) {
  insuranceCompanies(homeId: $homeId) {
    insuranceCompanies {
      id 
      name 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "insuranceCompanies": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String" } ] } }

Arguments

userId
ID!,non-nullrequired

Return type

Account
id
ID!,non-null
email
String!,non-null
emailVerified
Boolean!,non-null
phoneNumber
firstName
String
lastName
String
avatar
Avatardeprecated
Deprecation reason

use avatarV2

avatarV2
uploadFile
roles
[Role!]!,non-null
Query sample
query userAccount($userId: ID!) {
  userAccount(userId: $userId) {
    id 
    email 
    emailVerified 
    phoneNumber {
      countryCode 
      nationalNumber 
    }
    firstName 
    lastName 
    avatar {
      url 
      urlSmall 
      urlMedium 
      urlLarge 
      uploadUrl 
    }
    avatarV2(
      # Arguments Here
    ) {
      url {
        original 
        small 
        medium 
        large 
      }
      uploadUrl 
    }
    roles 
  }
}
Variables
{ "userId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "email": "Example String", "emailVerified": true, "phoneNumber": { "countryCode": "Example String", "nationalNumber": "Example String" }, "firstName": "Example String", "lastName": "Example String", "avatar": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String", "uploadUrl": "Example String" }, "avatarV2": { "url": { "original": "Example String", "small": "Example String", "medium": "Example String", "large": "Example String" }, "uploadUrl": "Example String" }, "roles": [ "INSTALLER" ] } }

Arguments

email
String!,non-nullrequired

Return type

Account
id
ID!,non-null
email
String!,non-null
emailVerified
Boolean!,non-null
phoneNumber
firstName
String
lastName
String
avatar
Avatardeprecated
Deprecation reason

use avatarV2

avatarV2
uploadFile
roles
[Role!]!,non-null
Query sample
query userAccountByEmail($email: String!) {
  userAccountByEmail(email: $email) {
    id 
    email 
    emailVerified 
    phoneNumber {
      countryCode 
      nationalNumber 
    }
    firstName 
    lastName 
    avatar {
      url 
      urlSmall 
      urlMedium 
      urlLarge 
      uploadUrl 
    }
    avatarV2(
      # Arguments Here
    ) {
      url {
        original 
        small 
        medium 
        large 
      }
      uploadUrl 
    }
    roles 
  }
}
Variables
{ "email": "Example String" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "email": "Example String", "emailVerified": true, "phoneNumber": { "countryCode": "Example String", "nationalNumber": "Example String" }, "firstName": "Example String", "lastName": "Example String", "avatar": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String", "uploadUrl": "Example String" }, "avatarV2": { "url": { "original": "Example String", "small": "Example String", "medium": "Example String", "large": "Example String" }, "uploadUrl": "Example String" }, "roles": [ "INSTALLER" ] } }

Arguments

homeId
ID!,non-nullrequired

Return type

InvitedUserHome
id
ID!,non-null
name
String
locationInfo
Query sample
query invitedUserHome($homeId: ID!) {
  invitedUserHome(homeId: $homeId) {
    id 
    name 
    type 
    locationInfo {
      country 
      city 
      postalCode 
      street 
      streetNumber 
      unitNumber 
      geoLocation {
        latitude 
        longitude 
      }
      apartmentNumber 
      associationId 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "type": "APARTMENT", "locationInfo": { "country": "Example String", "city": "Example String", "postalCode": "Example String", "street": "Example String", "streetNumber": "Example String", "unitNumber": "Example String", "geoLocation": { "latitude": 40, "longitude": 40 }, "apartmentNumber": "Example String", "associationId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" } } }

Arguments

homeId
ID!,non-nullrequired

Return type

[Organization!]!
id
ID!,non-null
name
String!,non-null
address
String!,non-null
email
String!,non-null
phoneNumbers
Query sample
query homeOrganizations($homeId: ID!) {
  homeOrganizations(homeId: $homeId) {
    id 
    name 
    address 
    email 
    phoneNumbers {
      countryCode 
      nationalNumber 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "address": "Example String", "email": "Example String", "phoneNumbers": [ { "countryCode": "Example String", "nationalNumber": "Example String" } ] } ] }

Arguments

areaId
ID!,non-nullrequired
userId
ID!,non-nullrequired

Return type

[HomeProfileActionAccess!]!
actionType
create
Boolean!,non-null
update
Boolean!,non-null
delete
Boolean!,non-null
read
Boolean!,non-null
Query sample
query areaAccessPoliciesForUser($areaId: ID!, $userId: ID!) {
  areaAccessPoliciesForUser(areaId: $areaId, userId: $userId) {
    actionType 
    create 
    update 
    delete 
    read 
  }
}
Variables
{ "areaId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "userId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": [ { "actionType": "ALARMS_AND_NOTIFICATIONS", "create": true, "update": true, "delete": true, "read": true } ] }
Overview
Overview
Overview
Overview
Overview
Overview
Overview