Sifely Open API
    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

    Quick start

    Step 1: Get API ClientId & Security#

    You can retrieve the Client ID and Client Secret from the Sifely API Access.

    Step 2: Login or OAuth to get your token#

    Stop 2.1 Login to get your token LoginAPI#

    Here is a simple example using cURL calls:

    Stop 2.2 OAuth to get your token OAuthAPI#

    Here is a simple example using cURL calls:

    Step 3: Call the sample interface#

    Here is a simple example using cURL calls:

    Work flows#

    image.png

    Error Codes#

    codedescription
    -1003Lock does not exist
    -2025Frozen lock. Can not operate on it now
    -3011Cannot Transfer Lock(s) to Yourself
    -4043The function is not supported for this lock
    -4056Run out of memory
    -4067NB Device is not registered
    -4082Auto locking period invalid
    Modified at 2025-03-03 08:32:19
    Previous
    Overview
    Next
    Login
    Built with