Authentication is done via Amazon Cognito.
- user pool region:
us-west-2
- user pool:
us-west-2_2zhrVs9d4
- client id:
t5836cptp2s1il0u9lki03j5
- client secret:
1kfmt18bgaig51in4j4v1j3jbe7ioqtjhle5o6knqc5dat0tpuvo
- Base URI: https://api.allegion.yonomi.cloud/v1/devices
- API Key:
hnuu9jbbJr7MssFDWm5nU2Z7nG5Q5rxsaqWsE7e9
/users
GET
- Returns a list of usersPOST
- Creates a new user
/users/@me
GET
- Returns info about the currently logged in user
/users/{urlencoded_userId}
GET
- Returns info about the given user idPUT
- Updates user info for the given user idDELETE
- Deletes the user with the given id
-
/devices
-
GET
- Returns all devices owned by the currently authenticated userTo return only a single type of device, pass one of the following query parameters:
- Locks:
archetype=lock
- Bridges:
devicetypeId=br400
- Locks:
-
POST
- Adds a new device
-
-
/devices/{urlencoded_deviceId}/logs
GET
- Returns logs for a device Query parameters:limit
- int, The number of messages to returnsort
- str, The field to sort by
DELETE
- Clears all logs.
-
/devices/{urlencoded_deviceId}
GET
- Returns a single devicePUT
- Updates a deviceDELETE
- Deletes a device
-
/devices/{urlencoded_deviceId}/commands
-
POST
- Performs a command on a lock.The is command contained in the
commandId
field in the JSON body, which should be one of the following:addaccesscode
updateaccesscode
deleteaccesscode
deleteallaccesscodes
Some of the commands listed below for bridge devices may also work.
-
-
/devices/{urlencoded_deviceId}/storage/accesscode
GET
- Returns access codes associated with a devicePOST
- Adds a new access code for a device
-
/devices/{urlencoded_deviceId}/storage/accesscode/{urlencoded_accessCodeId}
GET
- Returns a specific access codePUT
- Updates a specific access codeDELETE
- Deletes a specific access code
-
/devices/{urlencoded_deviceId}/users
GET
- Returns all lock users
-
/devices/{urlencoded_deviceId}/users/{urlencoded_userId}
PUT
- Updates a lock userDELETE
- Removes a lock user
-
/devices/{bridge_deviceId}
GET
- Returns a bridge device.PUT
- Updates a bridge device.DELETE
- Removes a bridge device.
-
/devices/{bridge_deviceId}/commands
-
POST
- Performs a command on a bridge.The is command contained in the
commandId
field in the JSON body, which should be one of the following:changelockstate
getaccesscodes
addaccesscode
updateaccesscode
deleteaccesscode
gethistory
clearhistory
updatelockdatetime
updatelockfirmware
linklock
unlinklock
pinglock
pingbridge
fwupdatebridge
deletebridge
(Facotry reset)
-
-
/notifications
GET
- Returns notificationsPOST
- Adds a notification. Requires a single query parameter,deviceId
, for the device to associate the notification with.
-
/notifications/{urlencoded_notificationId}
PUT
- Updates a notificationDELETE
- Deletes a notification
-
/invitations
GET
- Returns invitationsPOST
- Adds an invitation
-
/invitations/{urlencoded_deviceId}
GET
- Returns invitations related to a specific device
-
/invitations/{urlencoded_inviteId}
DELETE
- Removes a specific invitation.