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
Authorization*
String
Bearer <API_KEY>
Request Body
device_id*
String
ID of device to be unlocked
Code Example
Parameters
device_id
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
status
"success" | "error" | "pending"
success
determines a completed action performed on the device.
error
determines an unsuccessful action performed on the device.
pending
determines Seam is still trying to perform the action on the device
action_type
"UNLOCK_DOOR"
Determines the type of action performed on the device
action_attempt_id
String
ID of the action attempt
result
String
result
only exists for the success
status describing the event
error
Object
error
only exists for the error
status describing the event. It is an object with type
and message
. Where type
determines type of error and message
describes the error
Last updated