Creating Access Code CRUD Endpoints
Overview
Access Codes CRUD endpoints Seam to list access codes created on a door lock.
Listing Access Codes
After a Door Lock Owner logs in, Seam lists all the access codes programmed and shows them what's been programmed on the door lock. Your Door Locks system should return a JSON list of the access codes on a door lock.
List all access codes for a lock
GET
https://devicecloud.example.com/access_codes?lock_id=<LOCK_ID>
Headers
Authorization*
String
Bearer <access_token>
Getting an Access Code
Seam may request access code information to display information about an access code to the connecting user.
Get information about a single access code
GET
https://devicecloud.example.com/access_codes/<ACCESS_CODE_ID>
Query Parameters
ACCESS_CODE_ID*
String
Identifier for Access Code
Headers
Authorization*
String
Bearer <access_token>
Removing an Access Code
Seam needs to disable access codes. We need an endpoint to be able to remove an access code.
Remove an access code
DELETE
https://devicecloud.example.com/access_codes/<ACCESS_CODE_ID>
Headers
Authorization*
String
Bearer <access_token>
Content-Type*
String
application/json
Last updated