List Devices

Get all devices

Returns a list of all devices.

/devices/list

post

Returns a list of all devices.

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_typeone ofOptional

Device type for which you want to list devices.

string Β· enumOptional

Device type for smartlocks.

Possible values:
manufacturerstring Β· enumOptional

Manufacturer for which you want to list devices.

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
/devices/list

Request

List all devices or filter the list of devices 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 device.

device_types

String[] Optional

Types of devices.

manufacturer

String Optional

Device manufacturer.

device_ids

String[] Optional

IDs of the devices to include.

limit

Number Optional

Numerical limit on the number of devices to return.

created_before

String Optional

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

user_identifier_key

String Optional

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

custom_metadata_has

JSON object Optional

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


Sample Request

Response

Returns a devices array, in which each returned device (device) contains the set of applicable device properties. For details, see Devices.

This response also includes a Boolean ok status indicator.

Sample Response

Last updated

Was this helpful?