Can someone tell me how to get API access from an external web service? All I’m trying to do is flip on a switch, but I am getting a 403 ”AccessDenied, You are not authorized to perform the requested operation.” message.
This is what I’ve done, but I’m not sure if I’m missing something:
created SmartApp using ”Sample Web Services Application” from ST
installed/configured SmartApp using iOS app, allowing access to my switch
@snoopbuild - We’re still working to finish up the documentation and tutorials for how to expose web service endpoints from SmartApps. The draft documentation is available here:
but there are still a couple of sections missing. The main things that are missing are the discovery of your endpoints once the SmartApp is installed:
I followed the unfinished doc mentioned above by snoopbuild, mapped some api functions into my app. I successfully got an access token, retrieved my endpoint url but when I try to retrieve my switches list trough my endpoint url I’m getting an