SwitchBotAPI
SwitchBotAPI copied to clipboard
command createkey
Current Situation
Hi, I'm trying to create a code on keypad, here is my request (POST): "command": "createKey","commandType": "command","parameter": {'name':'test','type':'permanent','password':'password'}
response : {"statusCode": 190, "body": {}, "message": "param is invalid"}
Can someone provide me with an example of a valid query please? The device id is missing, right? thx !
Logs
{"statusCode": 190, "body": {}, "message": "param is invalid"}
Configuration
.
Environment
Web API
Additional Context
.