SmartApps
Get an App's OAuth Settings
Changed onRetrieve an app's oauth settings.
get/smartapps/{appNameOrId}/oauth
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:smartapps
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
appNameOrIdstring required
The appName or appId field of an app.
Query parameters
consistentReadboolean
Whether or not to request a strongly consistent read from OAuth. Most callers do not need to set this.
Headers
Authorizationstring string required
OAuth token
Response
An app.
Example response
{
"clientName": "My SmartThings Integration",
"scope": [
"r:installedapps",
"w:installedapps",
"x:installedapps"
],
"redirectUris": [
"https://myapp.com/oauth/callback",
"https://myapp.com/oauthin/callback"
],
"corsDomains": [
"https://myapp.com"
]
}Changes
- info
endpoint added
- info