I have created a ST Schema connector and connected to a web_hook using AWS API Gateway, which is calling my lambda function present in us-east-1 (N. Virginia). I selected under my testing devices.
The account linking was successful, the discovery (Door Locks) also successful. But when I tried to lock and unlock using the device using the app, this is not invoking the API. Not sure whats the problem.
As ST Schema integrations needs an authorization process that ends with your OAuth app sending to SmartThings an access token, refresh token and maybe an expires in value, you’ll need to configure properly handler for the refresh token one it has expired so SmartThings keeps being authorized to use your cloud’s device.