Rules
Get a Rule
Return the logic of a Rule based on the specified Rule ID, location, and user.
get/rules/{ruleId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:rules:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
locationIdstring ^(?:([0-9a-fA-F]{32})|([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}))$ required
The ID of the Location containing the Rule you wish to retrieve.
Response
The Rule
Changes
No recorded changes to this operation across all 8 revisions of this API.