Swiniot
  1. Door Lock Callback Commands
  • Swiniot Open Platform
    • API LIST
      • Token Acquisition and Usage Guide
      • Electricity Meter API
        • Query total electricity meter count
        • Query single electricity meter information
        • Query electricity meter recharge records
        • Query electricity consumption of a single meter
        • Query all electricity meter information
        • Query three-phase meter voltage, current, and power
        • Bind electricity meter
        • Unbind electricity meter
        • Electricity meter recharge
        • Electricity meter reading reset
        • Electricity meter switch
        • Set electricity price
        • Switch electricity meter payment mode
        • Electricity meter operation log
        • Bluetooth switch
        • Bluetooth switch - response
        • Bluetooth meter reading
        • Bluetooth meter reading - response
        • Bluetooth recharge
        • Bluetooth recharge - response
      • Water Meter API
        • Water meter recharge - Bluetooth
        • Water meter recharge - Bluetooth -response
        • Query total water meter count
        • Query single water meter information
        • Query water meter recharge records
        • Query water consumption of a single water meter
        • Batch query all water meter information
        • Add water meter
        • Water meter reading reset
        • Water meter operation log
        • Water meter recharge
        • Modify water price
        • Modify water meter payment mode
        • Valve-controlled water meter open/close valve
      • Super Gateway Door Lock API
        • Door Lock Command Dispatch
          • Door lock Bluetooth initialization command
          • Add, edit, or delete landlord password (only one password allowed)
          • Add, edit, or delete tenant password (only one password allowed)
          • Open door
          • Call the disconnect remote command before connecting via Bluetooth. Otherwise, the Bluetooth connection will fail.
          • Unbind door lock
          • Door card operations (add, delete, etc.)
          • Fingerprint operations (add, delete, etc.)
        • Door Lock Callback Commands
          • Door lock initialization callback API
            GET
          • API to call after door lock initialization is complete
            GET
          • Landlord password add, delete, or update callback API
            GET
          • Tenant password add, delete, or update callback API
            GET
          • Open door callback
            GET
          • Door lock unbind callback API
            GET
          • Door card Bluetooth callback API
            GET
          • Fingerprint Bluetooth callback API
            GET
        • Door lock list
          GET
  1. Door Lock Callback Commands

Open door callback

GET
https://api.swiniot.com/open/sw/answer/open
Bluetooth command - open door callback API

Request

Query Params

Request Code 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 'https://api.swiniot.com/open/sw/answer/open?sn=40717260100000&bluetooth=true&message=A------------------------'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{}
Modified at 2026-06-12 06:52:47
Previous
Tenant password add, delete, or update callback API
Next
Door lock unbind callback API
Built with