List Locks

Get all locks

Returns a list of all locks.

/locks/list

post

Returns a list of all locks.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_keystringOptional

Customer key for which you want to list devices.

connected_account_idstring Β· uuidOptional

ID of the connected account for which you want to list devices.

connected_account_idsstring Β· uuid[]Optional

Array of IDs of the connected accounts for which you want to list devices.

connect_webview_idstring Β· uuidOptional

ID of the Connect Webview for which you want to list devices.

device_typestring Β· enumOptional

Device type of the locks that you want to list.

Possible values:
manufacturerstring Β· enumOptional

Manufacturer of the locks that you want to list.

Possible values:
device_idsstring Β· uuid[]Optional

Array of device IDs for which you want to list devices.

limitnumber Β· floatOptional

Numerical limit on the number of devices to return.

Default: 500
created_beforestring Β· date-timeOptional

Timestamp by which to limit returned devices. Returns devices created before this timestamp.

user_identifier_keystringOptional

Your own internal user ID for the user for which you want to list devices.

page_cursorstring | nullableOptional

Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

unstable_location_idstring Β· uuid | nullableOptionalDeprecated
space_idstring Β· uuidOptional

ID of the space for which you want to list devices.

searchstring Β· min: 1Optional

String for which to search. Filters returned devices to include all records that satisfy a partial match using device_id, display_name, custom_metadata or location.location_name.

Responses
200

OK

application/json
post
/locks/list

Request

List all locks or filter the list of locks by including the corresponding filter parameter in the request body.

Request Body Parameters

Parameter
Type
Description

connected_account_id

String Optional

ID of the connected account.

connected_account_ids

String[] Optional

IDs of the connected accounts.

connect_webview_id

String Optional

device_type

String Optional

Type of lock.

device_types

String[] Optional

Types of locks.

manufacturer

String Optional

Lock manufacturer.

device_ids

String[] Optional

IDs of the locks to include.

limit

Number Optional

Numerical limit on the number of locks to return.

created_before

String Optional

Date threshold for locks to return. If specified, returns only locks created before the specified date.

user_identifier_key

String Optional

Your own internal user ID for the user by which to filter locks.

custom_metadata_has

JSON object Optional

Set of key:value custom metadata pairs by which you want to filter locks.


Sample Request

Response

Returns a locks array, in which each returned lock contains the set of applicable lock properties. For details, see Locks.

Sample Response

Last updated

Was this helpful?