Subscriptions
List an Installed App's Subscriptions
List the subscriptions for the installed app.
get/installedapps/{installedAppId}/subscriptions
Request
- Base URLhttps://api.smartthings.com/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
An array of subscriptions
Example response
{
"items": [
{
"id": "5e1b134b-bd85-4125-9c25-4a8291e754aa",
"installedAppId": "fb05c874-cf1d-406a-930c-69a081e0eaee",
"sourceType": "DEVICE",
"device": {
"componentId": "main",
"deviceId": "e457978e-5e37-43e6-979d-18112e12c961,",
"capability": "contactSensor,",
"attribute": "contact,",
"stateChangeOnly": "true,",
"subscriptionName": "contact_subscription',",
"value": "*"
}
}
],
"_links": {
"next": {
"href": "https://..."
},
"previous": {
"href": "https://..."
}
}
}Changes
No recorded changes to this operation across all 8 revisions of this API.