List Access Codes

Get all access codes

Returns a list of all access codes.

/access_codes/list

post

Returns a list of all access codes.

Specify either device_id or access_code_ids.

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

Customer key for which you want to list access codes.

device_idstring Β· uuidOptional

ID of the device for which you want to list access codes. Specify either device_id or access_code_ids.

access_code_idsstring Β· uuid[]Optional

IDs of the access codes that you want to retrieve. Specify either device_id or access_code_ids.

user_identifier_keystringOptional

Your user ID for the user by which to filter access codes.

limitnumber Β· floatOptional

Numerical limit on the number of access codes to return.

Default: 55000
page_cursorstring | nullableOptional

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

Responses
200

OK

application/json
post
/access_codes/list

Request

Filter the list of returned access codes by device ID or access code IDs. You can also filter by user identifier key. You must include at least device_id or access_code_ids.

Request Body Parameters

Parameter
Type
Description

device_id

String (UUID) Optional

ID of the devices for which to retrieve access codes.

access_code_ids

Array of strings (UUIDs) Optional

IDs of the access codes to retrieve.

user_identifier_key

String Optional

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

Sample Request

Response

Returns an access_codes array, in which each returned access_code contains the set of applicable access code properties. For details, see Access Codes.

Sample Response

Last updated

Was this helpful?