Rooms
List Rooms
List all Rooms currently available in a Location.
get/locations/{locationId}/rooms
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:locations:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
An array of Rooms
Example response
{
"items": [
{
"roomId": "bdd8a15f-33d4-41fc-b33c-75ce85e99d24",
"locationId": "6b3d1909-1e1c-43ec-adc2-5f941de4fbf9",
"name": "Living Room",
"created": 1547920800,
"lastModified": 1548007200,
"indoorMap": {
"mapRoomId": "6b3d1909-1e1c-43ec-adc2-5f941de4fbf8",
"color": "some color code"
}
}
],
"_links": {
"next": {
"href": "https://..."
},
"previous": {
"href": "https://..."
}
}
}Changes
No recorded changes to this operation across all 8 revisions of this API.