Toggle Lock state


#1

I am looking for the URL command for toggling the lock state

Currently for locking we use this
https://api.lockitron.com/locks/1234/LOCK

And for unlocking we use this
https://api.lockitron.com/locks/1234/UNLOCK

So what is the url for toggle? is it
https://api.lockitron.com/locks/1234/TOGGLE??

I tried different urls but am not getting it to work

Any help is appreciated


#2

Toggle is actually supported in API v2. It’s set up differently however.

Sign up for the developer mailing list and send an e-mail off to the team to get access.