SmartApps
Get an App
Changed onGet a single app.
get/smartapps/{appNameOrId}
Request
- Base URLhttps://api.smartthings.com/v1
- Auth
- OAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:smartapps
- or OAuth 2Implicithttps://auth-global.api.smartthings.comScopesservice
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
appNameOrIdstring required
The appName or appId field of an app.
Headers
Authorizationstring string required
OAuth token
Response
An app.
Example response
{
"appName": "security-home-monitor",
"appId": "c71b0a5b-7dab-41fe-b75f-7cf30246468e",
"appType": "WEBHOOK_SMART_APP",
"classifications": [
"AUTOMATION"
],
"displayName": "Security Home Monitor",
"description": "An intergration that leverages all security devices in your home - cameras, motion sensors, etc to provide\nyou with peace of mind and #security.\n",
"iconImage": {
"url": "https://smart-home-monitor.com/image"
},
"installMetadata": {
"certified": "true",
"maxInstalls": "-1"
},
"owner": {
"ownerType": "USER",
"ownerId": "3f178632-79ed-4358-94de-280dbd7c206c"
},
"webhookSmartApp": {
"targetUrl": "https://securityhome.com/smartthings",
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlz00iTNPXIo+RM8n0Eudnh84XDWBFAkR\nL7mkOtXvZiKViCR1qs5LT3SaNy62hkUroexCoii4vjRTSHaQ9FwyBRo98EY9U3qzWmr9Row9ONcQ\nVKFVX6qiwb9SZG7QvHSfqVAuWhMGb1fFGUWl94L7kY0CihF+WJS5fdhXc1h/f/tY1439hruL3+BR\n/idfYjAKDa1+euW4b0HKMi4BdJutL/G5FXjDP7MP5fTRuM52erKpON1pwPD8ow/03MhK4wRikHqS\n/Kvd3UnQ8Q7OSrfJevqR0CqBf83Am1HSHh/bqOfsG0epl+2I1RKLBzB2tSTvMfk0ftiRSq/fRrhl\nxsJmFQIDAQAB\n-----END PUBLIC KEY-----\n"
},
"createdDate": "2017-05-19T12:39:37Z",
"lastUpdatedDate": "2017-05-19T12:39:37Z"
}Changes
- info
endpoint added
- info