Devices
Get the Status of a Capability
Get the current status of a Device component's capability.
If the OAuth token used in this API call is for a SmartApp that created the Device, it implicitly has permission for this API.
get/devices/{deviceId}/components/{componentId}/capabilities/{capabilityId}/status
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesr:devices:*
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful return of current status of the attributes of a device component's capability
Capability Status required
A map of attribute name to attribute state.
Example response
{
"switch": {
"value": "on"
}
}Changes
No recorded changes to this operation across all 8 revisions of this API.