Coordinate
GET /services/coordinate/locations/{locationId}
Get specified location ID information
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:locations:*, mobile
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
locationIdstring required
A unique location identifier. This is not guaranteed to be a valid UUID.
Headers
Authorizationstring string required
OAuth token
Response
Success
Example response
{
"locationId": "fb9e719c-e432-4dc3-86b3-7b64ce76c1dc",
"subscriptions": [
{
"subscriptionId": 1234,
"predicate": "weather.temperature.value > 15",
"type": "EXECUTION",
"subscribedCapabilities": [
"weather"
]
}
],
"city": "Sunnyvale",
"latitude": 44.99,
"longitude": -93.26
}Changes
No recorded changes to this operation across all 8 revisions of this API.