SmartThings cli syntax

You can try to make HTTP requests to the SmartThings API. However, remember that Groovy is part of our legacy platform.
Can you share more details about your use case?