---
title: "Unlock lock"
method: POST
path: "/locks/{id}/unlock"
tags: ["Locks"]
---

# Unlock lock

`POST /locks/{id}/unlock`

## Path parameters

- `id` integer, required

## Request body

- object
  - `context` object
    - `location` object — The user's current location (based on the WGS 84 coordinate system) for geo-fence restricted locks.
      - `longitude` number, float, required — The longitude of the user's location
      - `latitude` number, float, required — The latitude of the user's location
    - `services` object[] — The state of services on the user's device.
      - `type` 'BLE' | 'GPS' | 'NFC', required — The type of the service.
      - `available` boolean — Whether the service is available on the device.
      - `enabled` boolean — Whether the service is enabled by the user.
      - `authorized` boolean — Whether the app is authorized to use the service.
  - `lock` object
    - `proximity_proof` string, nullable, required — Proximity proof to verify proximity to lock.

## Response `200`

OK

- object
  - `message` 'Unlocked!', required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `503` — Service Unavailable

---

[API](https://skmtc.dev/kisi/apis/kisi-api.md) · [All operations](https://skmtc.dev/kisi/apis/kisi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kisi/kisi-api/revisions/998700ffff5a/schema)
