Algopin API Reference
Enterprise API endpoints for managing algopin.
Create a duration (daily) algoPIN code
/devices/{deviceId}/algopin/dailyPath Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
Query Parameters
| Parameter | In | Required |
|---|---|---|
| Authorization | header | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| accessName | string | Optional |
| endDate | string | Optional |
| startDate | string | Optional |
| variance | integer | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/algopin-daily'
'{ message: 'not found device' }'
Conflict. The device's property record is missing a timezone (data integrity guard).
Unsupported Media Type
'{ error: 'this device type does not support the feature.' }' — the device SKU does not support algoPIN codes.
Internal Server Error
No example response recorded for this status code.
Create a duration (hourly) algoPIN code
/devices/{deviceId}/algopin/hourlyPath Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
Query Parameters
| Parameter | In | Required |
|---|---|---|
| Authorization | header | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| accessName | string | Optional |
| endDate | string | Optional |
| startDate | string | Optional |
| variance | integer | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/algopin-hourly'
'{ message: 'not found device' }'
Conflict. The device's property record is missing a timezone (data integrity guard).
Unsupported Media Type
'{ error: 'this device type does not support the feature.' }' — the device SKU does not support algoPIN codes.
Internal Server Error
No example response recorded for this status code.
Create a one-time algoPIN code
/devices/{deviceId}/algopin/onetimeReturns a one-time algoPIN code (OTP).
Path Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
Query Parameters
| Parameter | In | Required |
|---|---|---|
| Authorization | header | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| accessName | string | Optional |
| startDate | string | Optional |
| variance | integer | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/algopin-onetime'
'{ message: 'not found device' }'
Conflict. The device's property record is missing a timezone (data integrity guard).
Unsupported Media Type
'{ error: 'this device type does not support the feature.' }' — the device SKU does not support algoPIN codes.
Internal Server Error
No example response recorded for this status code.
Create a duration passage algoPIN code.
/devices/{deviceId}/algopin/passageAllows unlock with AlgoPIN and keeps the lock unlocked for the duration provided in the request body. Only supports newer devices with latest firmware.
Path Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
Query Parameters
| Parameter | In | Required |
|---|---|---|
| Authorization | header | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| accessName | string | Optional |
| durationHours | integer | Optional |
| startDate | string | Optional |
| variance | integer | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
'{ message: 'not found device' }'
Conflict. The device's property record is missing a timezone (data integrity guard).
Unsupported Media Type
'{ error: 'this device type does not support the feature.' }' — the device SKU does not support algoPIN codes.
Internal Server Error
No example response recorded for this status code.
Create a permanent algoPIN code
/devices/{deviceId}/algopin/permanentReturns a permanent algoPIN code.
Path Parameters
| Parameter | Type | Required |
|---|---|---|
| deviceId | string | Yes |
Query Parameters
| Parameter | In | Required |
|---|---|---|
| Authorization | header | Yes |
Body Parameters
| Parameter | Type | Required |
|---|---|---|
| accessName | string | Optional |
| startDate | string | Optional |
| variance | integer | Optional |
Request Example
Responses
OK
Bad Request
Unauthorized, invalid or expired authorization token
Response
Forbidden, accessToken scope must contain 'igloohomeapi/algopin-permanent'
'{ message: 'not found device' }'
Conflict. The device's property record is missing a timezone (data integrity guard).
Unsupported Media Type
'{ error: 'this device type does not support the feature.' }' — the device SKU does not support algoPIN codes.
Internal Server Error
No example response recorded for this status code.