Get all devices that can be managed by the user associated with the given :identifier. An identifier can either be a userID or invitationID.
| houseID required | string <uuid> |
| identifier required | string |
{- "locks": [
- {
- "lockID": "string",
- "lockName": "string",
- "accessLevel": "guest",
- "rule": null,
- "entryCode": null,
- "contactlessKey": null,
- "fingerprintAccess": null
}
], - "doorbells": [
- {
- "doorbellID": "string",
- "doorbellName": "string",
- "accesslevel": "guest"
}
]
}Get all of the users and their access levels for a House
| houseID required | string <uuid> |
| mergeDuplicates |
{- "owners": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string"
}
], - "guests": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string"
}
], - "pinOnly": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string"
}
], - "rfidOnly": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string"
}
], - "fingerOnly": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string"
}
], - "invitations": {
- "identifier": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "userName": "string",
- "avatarImage": "string",
- "credentialUrls": [
- "string"
], - "rule": { },
- "invitationID": "string",
- "identifienr": "string"
}
]
}
}{- "LockName": "string",
- "Type": 0,
- "Created": "2019-08-24T14:15:22Z",
- "Updated": "2019-08-24T14:15:22Z",
- "LockID": "string",
- "HouseID": "a57f9bda-a0f3-4990-8567-aec391f13038",
- "HouseName": "string",
- "Calibrated": true,
- "timeZone": "string",
- "battery": 0,
- "supportsEntryCodes": true,
- "remoteOperateSecret": "string",
- "HomeKitSetupPayload": "string",
- "skuNumber": "string",
- "macAddress": "string",
- "SerialNumber": "string",
- "LockStatus": {
- "status": "string",
- "dateTime": "string",
- "isLockStatusChanged": true,
- "valid": true,
- "doorState": "init"
}, - "currentFirmwareVersion": "string",
- "homeKitEnabled": true,
- "zWaveEnabled": true,
- "isGalileo": true,
- "Bridge": {
- "_id": "string",
- "mfgBridgeID": "string",
- "deviceModel": "string",
- "firmwareVersion": "string",
- "operative": true,
- "status": {
- "current": "string",
- "lastOnline": "string",
- "updated": "string",
- "lastOffline": "string"
}, - "hyperBridge": true
}, - "parametersToSet": { },
- "users": { },
- "pubsubCHannel": "string",
- "ruleHash": { },
- "cameras": [ ],
- "geofenceLimits": {
- "ios": {
- "debounceInterval": 0,
- "gpsAccuracyMultiplier": 0,
- "maximumGeofence": 0,
- "minimumGeofence": 0,
- "minGPSAccuracyRequired": 0
}, - "android": {
- "debounceInterval": 0,
- "gpsAccuracyMultiplier": 0,
- "maximumGeofence": 0,
- "minimumGeofence": 0,
- "minGPSAccuracyRequired": 0
}
}
}Currently only Lock Name, Calibration status, and homeKit ID can be updated
| lockID required | string^[\dA-F]{32}$ |
| LockName | string |
| Calibrated | boolean |
| homeKitEnabled | boolean |
| zWaveEnabled | boolean |
| doorStateOpenTimeout | number <float> |
| hostLockInfo | object |
| homeKitUniqueIdentifier | string |
| integrationModeEnabled | boolean |
{- "LockName": "string",
- "Calibrated": true,
- "homeKitEnabled": true,
- "zWaveEnabled": true,
- "doorStateOpenTimeout": 0,
- "hostLockInfo": { },
- "homeKitUniqueIdentifier": "string",
- "integrationModeEnabled": true
}{- "message": "success"
}Notify the server about the status of an existing offline key
| lockID required | string^[\dA-F]{32}$ |
| action required | string |
| UserID required | string |
| slot required | number <float> |
{- "UserID": "string",
- "slot": 0
}{- "message": "success"
}{- "created": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "loaded": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "disabled": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "disabling": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "enabling": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "deleting": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
], - "updating": [
- {
- "_id": "string",
- "type": "string",
- "lockID": "string",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "state": "string",
- "pin": "string",
- "slot": 0,
- "accessType": "string",
- "callingUserID": "851e2e94-fa56-400f-8cf5-5f891ab24b63",
- "apiKey": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "loadedDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "unverified": true
}
]
}Takes two random numbers then returns a packet to be sent to the lock and a URL to PUT the response
| lockID required | string^[\dA-F]{32}$ |
| mRand1 required | number <float> |
| mRand2 required | number <float> |
{- "mRand1": 0,
- "mRand2": 0
}{- "packet": "string",
- "url": "string",
- "method": "PUT"
}Takes the lock's response to the exchange key packet and returns lRand1 and lRand2
| lockID required | string^[\dA-F]{32}$ |
| LockResponse required | string |
{- "LockResponse": "string"
}{- "lRand1": "string",
- "lRand2": "string",
- "slot": "string",
- "mRand1": "string",
- "mRand2": "string"
}Creates or change the pin on the specified lock for the specified user
| lockID required | string^[\dA-F]{32}$ |
| otherUserID required |
| firstName | string |
| lastName | string |
| state required | string Enum: "load" "delete" "disable" "enable" "update" |
| action required | string Enum: "intent" "commit" |
(string or number) | |
| slot | integer |
| accessType | string Default: "always" Enum: "always" "recurring" "temporary" "onetime" |
| accessTimes | string |
| accessRecurrence | string |
| schedule | string |
| transactionID | string |
{- "firstName": "string",
- "lastName": "string",
- "state": "load",
- "action": "intent",
- "pin": "string",
- "slot": 0,
- "accessType": "always",
- "accessTimes": "string",
- "accessRecurrence": "string",
- "schedule": "string",
- "transactionID": "string"
}{- "message": "success"
}Get information about an existing lock
| lockID required | string^[\dA-F]{32}$ |
| accept-version required | number Value: "2.0.0" |
{- "LockName": "string",
- "Type": 0,
- "Created": "2019-08-24T14:15:22Z",
- "Updated": "2019-08-24T14:15:22Z",
- "LockID": "string",
- "HouseID": "a57f9bda-a0f3-4990-8567-aec391f13038",
- "HouseName": "string",
- "Calibrated": true,
- "timeZone": "string",
- "battery": 0,
- "supportsEntryCodes": true,
- "remoteOperateSecret": "string",
- "HomeKitSetupPayload": "string",
- "skuNumber": "string",
- "macAddress": "string",
- "SerialNumber": "string",
- "LockStatus": {
- "status": "string",
- "dateTime": "string",
- "isLockStatusChanged": true,
- "valid": true,
- "doorState": "init"
}, - "currentFirmwareVersion": { },
- "homeKitEnabled": true,
- "zWaveEnabled": true,
- "isGalileo": true,
- "Bridge": {
- "_id": "string",
- "mfgBridgeID": "string",
- "deviceModel": "string",
- "firmwareVersion": "string",
- "operative": true,
- "status": {
- "current": "string",
- "lastOnline": "string",
- "updated": "string",
- "lastOffline": "string"
}, - "hyperBridge": true
}, - "parametersToSet": { },
- "users": { },
- "pubsubChannel": "string",
- "ruleHash": { },
- "cameras": [ ],
- "geofenceLimits": {
- "ios": {
- "debounceInterval": 0,
- "gpsAccuracyMultiplier": 0,
- "maximumGeofence": 0,
- "minimumGeofence": 0,
- "minGPSAccuracyRequired": 0
}, - "android": {
- "debounceInterval": 0,
- "gpsAccuracyMultiplier": 0,
- "maximumGeofence": 0,
- "minimumGeofence": 0,
- "minGPSAccuracyRequired": 0
}
}
}Create a usage rule for a lock, and apply it to the user specified by otherUserID
| lockID required | string^[\dA-F]{32}$ |
| otherUserID required |
| startTime required | string |
| endTime required | string |
| recurrence | string |
| schedule | string |
| Name | string |
{- "startTime": "string",
- "endTime": "string",
- "recurrence": "string",
- "schedule": "string",
- "Name": "string"
}{- "ruleID": "70ad0911-782f-4c13-9983-d6e9c9bdcc40"
}Creates an unverified user with lock and credential types
| lockID required | string^[\dA-F]{32}$ |
| credentialType | string Enum: "pin" "rf" "finger" |
| phone | string |
| firstName | string |
| lastName | string |
| pin | string^[0-9]{4,14}$ |
{- "lockID": "string",
- "credentialType": "pin",
- "phone": "string",
- "firstName": "string",
- "lastName": "string",
- "pin": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "firstName": "string",
- "lastName": "string",
- "slot": 0,
- "pin": null
}/users/me will return information for calling (OAuth'd) user,whereas /users/:userID will return the information for the user specified by :userID. Returns Not Found if userID does not exist.
| otherUserID required |
| accept-version required | number Value: "2.0.0" |
{- "UserID": "08aac8e3-775d-4513-8aaa-658f6ba9bbcd",
- "Email": "user@example.com",
- "PhoneNo": "string",
- "FirstName": "string",
- "LastName": "string",
- "locale": {
- "language": "en",
- "country": "US"
}, - "imageInfo": {
- "original": {
- "width": 0,
- "height": 0,
- "format": "string",
- "url": "string",
- "secure_url": "string"
}, - "thumbnail": {
- "width": 0,
- "height": 0,
- "format": "string",
- "url": "string",
- "secure_url": "string"
}
}, - "optedInToOrchestra": true,
- "tokens": [
- {
- "type": "string",
- "token": "server-removed"
}
]
}SDK authentication for LG homins to exchange access token.
| serialNumber required | string^[A-Z][\dA-Z]{9}$ |
| authKey required | string^[\da-f]{32}$ |
{- "serialNumber": "string",
- "authKey": "string"
}{- "lockID": "string",
- "accessToken": "string",
- "accessTokenExpiresIn": "string"
}Get the activity feed for the provided :houseID
| houseID required | string <uuid> |
| end | |
| deviceID | string |
| deviceType | string Enum: "lock" "doorbell" "keypad" |
| userID | string <uuid> |
| accept-version required | number Value: "4.0.0" |
{- "events": [
- {
- "id": "string",
- "storyID": "string",
- "timestamp": 0,
- "icon": "string",
- "action": "auto_lock",
- "deviceID": "string",
- "deviceType": "string",
- "title": "string",
- "attachment": "string",
- "attachmentWidth": 0,
- "attachmentHeight": 0,
- "doorbell": {
- "dvrID": "string",
- "videoUploadProgress": "string",
- "videoAvailable": true
}, - "user": {
- "UserID": "string",
- "FirstName": "string",
- "LastName": "string",
- "thumbnail": "string"
}
}
]
}| udID | string |
| hID | string |
| hhID | string |
| topLevelHost | boolean |
| deviceType | string |
| deviceID | string |
| serialNumber | string |
| productID | integer |
| productTypeID | integer |
{- "lock": {
- "hostHardwareLockInfo": { },
- "hostLock": { }
}, - "doorbell": {
- "setupIP": "string",
- "hasDock": true,
- "hasFloodlight": true,
- "canDisableWiredChime": true,
- "supportsPowerModes": true,
- "supportsImageQualityAdjustment": true,
- "hasIntegratedBridge": true,
- "supportsAugustChime": true,
- "videoAspectRatio": "string",
- "videoFormatOptions": [
- "string"
], - "batteryPoweredOnly": true,
- "hasReplaceableFaceplate": true,
- "motionSensitivityBounds": "string",
- "minVoltage": 0,
- "resetPatternType": null,
- "installationInstructionsUrl": "string",
- "troubleshootingUrl": "string",
- "type": "string",
- "supportsWAC": true
}, - "connect": {
- "numberOfDevicesSupported": 0,
- "setupTypeSupported": [
- "string"
], - "standAlone": true,
- "supportsQR": true,
- "rbsAuthMechanism": 0,
- "supportsBridgeNotFoundFactoryReset": true,
- "hasClientCertificate": true
}, - "keypad": {
- "supportsPinCodes": true,
- "supportsKeyTags": true,
- "supportsFingerprintCredential": true,
- "pinLengthMin": 0,
- "pinLengthMax": 0,
- "usesSlots": true,
- "isStandAlone": true
}
}