Sifely Open API
  1. Lock Manager
Sifely Open API
  • Overview
  • Quick start
  • OAuth Manager
    • Login
      POST
    • Get authorization_code
      POST
    • Get token refresh token
      POST
  • Key Manager
    • Get Ekeys by account
      POST
    • Send ekey
      POST
    • Delete ekey
      POST
  • Passcode Manager
    • Create passcode
      POST
    • Change passcode
      POST
    • Delete passcode
      POST
    • Get passcode
      POST
  • Lock Manager
    • Unlock a lock via gateway
      POST
    • Lock the lock via gateway
      POST
    • Get lock details
      GET
    • Get keys of a lock
      GET
    • Passcode list
      GET
    • Get Lock open state
      GET
  • Group Manager
    • Group list
      GET
  • Card Manager
    • Ic card list
      GET
  • FingerPrint Manager
    • FingerPrint list
      GET
  • Records Manager
    • Get unlock records by lockId
      GET
  1. Lock Manager

Get Lock open state

test-envirement
test-envirement
GET
/v3/lock/queryOpenState
Get the open state of a lockLock Manager

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Query Params
lockId
integer <int64>
required
lockId

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://dev-alexa.sifely.com/v3/lock/queryOpenState?lockId'

Responses

🟢200OK
*/*
OK
Body
state
integer <int64>
optional
Lock switch status: 0-off, 1-on, 2-unknown
Example:
0
Example
{
  "state": 0
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-01-23 03:56:39
Previous
Passcode list
Next
Group list
Built with