Creating Access Code CRUD Endpoints
Last updated
Last updated
© Seam Labs, Inc. All rights reserved.
Access Codes CRUD endpoints Seam to list access codes created on an intercom.
After an Intercom Owner logs in and , Seam lists all the access codes that have been programmed and allows them to enable delivery on them. Your Intercom system should return a JSON list of intercoms.
GET
https://devicecloud.example.com/access_codes?intercom_id=<INTERCOM_ID>
Name | Type | Description |
---|---|---|
Seam may request intercom information to display information about the intercom to the connecting user.
GET
https://devicecloud.example.com/access_codes/<ACCESS_CODE_ID>
Seam unlocks doors to let in delivery people. If a door is disconnected or you're unable to unlock the door, return HTTP status code 500
with some details (see example below)
DELETE
https://devicecloud.example.com/access_codes/<ACCESS_CODE_ID>
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Bearer <access_token>
ACCESS_CODE_ID*
String
Identifier for Access Code
Authorization*
String
Bearer <access_token>
Authorization*
String
Bearer <access_token>
Content-Type*
String
application/json