Managing Backup Access Codes
Learn how to bullet proof your access code implementation with back up access codes.
Before You Begin
{
"device_id": "00000000-0000-0000-0000-000000000000",
"properties": {
"supports_backup_access_code_pool": true,
...
},
...
}device = seam.devices.get("6aae9d08-fed6-4ca5-8328-e36849ab48fe")
pprint("Supports backup access code pool: "
+ str(device.properties.supports_backup_access_code_pool))'Supports backup access code pool: True'# Use GET or POST.
curl -X 'GET' \
'https://connect.getseam.com/devices/get' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${API_KEY}' \
-H 'Content-Type: application/json' \
-d '{
"device_id": "6aae9d08-fed6-4ca5-8328-e36849ab48fe"
}'{
"device": {
"device_id": "6aae9d08-fed6-4ca5-8328-e36849ab48fe",
.
.
.
"properties": {
.
.
.
"supports_backup_access_code_pool": true
},
.
.
.
},
"ok": true
}Enabling and Retrieving Backup Codes
1. Activate the backup access code pool
2. Detect when an access code has failed to program
3. Confirm the availability of a backup access code
4. Retrieve a backup access code
Troubleshooting
Warning: many_active_backup_codes
many_active_backup_codesWarning: partial_backup_access_code_pool
partial_backup_access_code_poolError: empty_backup_access_code_pool
empty_backup_access_code_poolSupported Brands
Last updated
Was this helpful?

