Unlock a Lock
Issue an unlock command on the Device by its Device ID
Unlock Door for Device
POST
https://connect.getseam.com/locks/unlock_door
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer <API_KEY> |
Request Body
Name | Type | Description |
---|---|---|
device_id* | String | ID of device to be unlocked |
Code Example
Parameters
| type: string | Device ID |
Response
This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.
JSON format
| "success" | "error" | "pending" |
|
| "UNLOCK_DOOR" | Determines the type of action performed on the device |
| String | ID of the action attempt |
| String |
|
| Object |
|
Last updated