Lockitron Community

Webhook with guest account

#1

Hi There

I am creating my own web application which is using lockitron API’s. I have created virtual locks and tested it which works well. Now i want to test webhook activity url. I have created my own application and set the the webhook URL but it is not working when i call lockitron API’s. I am referring https://api.lockitron.com/v1/getting_started/locking_and_unlocking

Can you please tell me what’s the problem? I have tried using example access_token and my own access_token ( from my application ) . When i am using my own access token and tried to call or invite another user, it says i don’t have permission because i am using guest account. So, how can i get admin/owner access ? may be this is the reason that my webhook URL is not working.

Please help me out.

0 Likes

#2

@ravi sorry for the delay - the v1 docs have a number of bugs, however, you should be able to use your token listed at https://api.lockitron.com/v1/oauth/applications (not the demo token).

Are you logged in at lockitron.com to an account while attempting to do this?

0 Likes

#3

Yes @cameron I am looged in and I am using my own token listed at https://api.lockitron.com/v1/oauth/applications, also I have set the webhook URL - still not able to get info on my webhook URL :frowning:

0 Likes