Unlock a Lock
Unlocks a lock. See also Locking and Unlocking Smart Locks.
Unlocks a lock.
Code:
await seam.locks.unlockDoor({
device_id: "be047431-bf00-4da6-9fc7-0a7796a9b57f",
});Output:
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}Unlocks a lock.
Code:
curl --include --request POST "https://connect.getseam.com/locks/unlock_door" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"device_id": "be047431-bf00-4da6-9fc7-0a7796a9b57f"
}
EOFOutput:
{
"action_attempt": {
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}
}Unlocks a lock.
Code:
Output:
Unlocks a lock.
Code:
Output:
Unlocks a lock.
Code:
Output:
Unlocks a lock.
Code:
Output:
Request Parameters
device_id String (Required)
ID of the lock that you want to unlock.
Response
Returns: action_attempt
Last updated
Was this helpful?

