SmartApps

Get an App's OAuth Settings

Changed on

Retrieve an app's oauth settings.

get/smartapps/{appNameOrId}/oauth

Request

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.

clientNamestring

A name given to the OAuth Client.

scopestring[]

A list of SmartThings API OAuth scope identifiers that may be required to execute your integration.

redirectUrisstring[]

A list of redirect URIs for API_ONLY apps.

corsDomainsstring[]

A list of CORS domains.

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