Channels
List channels
Changed onList channels for the authenticated user, optionally filtering by subscriber type and subsciber ID
get/distchannels
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:channels:*, r:hubs:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
type'HUB'
Filter channels by subscriber type
subscriberIdstring
Filter channels based on the subscriber (e.g. hub ID)
includeReadOnlyboolean
Filter channels based on user access. Defaults to filtering channels a user has both read and write access to.
Response
List of channels associated with the user, optionally filtered
Example response
{
"items": [
{
"channelId": "9314a926-528c-403f-ae56-4b0d059381dd"
}
],
"_links": {
"next": {
"href": "https://..."
},
"previous": {
"href": "https://..."
}
}
}Changes
- info
endpoint added
- info