Samsung SmartThings
Samsung SmartThings is a smart-home IoT platform for connecting, controlling, and automating devices across a home. The SmartThings API is a RESTful interface (base https://api.smartthings.com/v1) that lets integrations control devices, read device status, manage locations, rooms, and modes, build automations with Rules and Scenes, define and inspect capabilities, and build SmartApps that subscribe to events and run schedules. Authentication is via a Personal Access Token (PAT) for testing or OAuth 2.0 for production integrations. SmartThings publishes a real OpenAPI/Swagger definition at swagger.api.smartthings.com/public/st-api.yml. Event delivery is push-based over HTTP webhooks (SmartApp lifecycle callbacks and the Enterprise Eventing API sinks/subscriptions), not a public WebSocket.
APIs
SmartThings Devices API
List, install, get, update, and delete the devices connected to a SmartThings account, and read a device's description, components, and health state.
SmartThings Device Commands & Status API
Execute capability commands on a device, create device events, and read full device status or the status of a single component or capability.
SmartThings Locations API
Create, list, get, update, and delete the Locations (homes) that group hubs, devices, and automations, and manage a Location's Modes and current Mode.
SmartThings Rooms API
Create, list, get, update, and delete Rooms, which group devices within a Location.
SmartThings Scenes API
Create, list, get, update, delete, and execute Scenes - saved sets of device states that can be triggered on demand.
SmartThings Rules API
Create, list, get, update, delete, and execute Rules - the condition/action Automations that operate on SmartThings connected devices.
SmartThings Capabilities API
List and retrieve standard and custom Capabilities - the typed attributes and commands (switch, temperatureMeasurement, lock, etc.) that describe what a device can do, by capabi...
SmartThings Subscriptions API
Create, list, get, and delete an Installed App's event Subscriptions - filters that determine which device, capability, mode, or device-lifecycle events are delivered to the app...
SmartThings Schedules API
Create, list, and delete Schedules for an Installed App - once or cron-style future executions that trigger the app's EXECUTE lifecycle callback.
SmartThings Apps API
Register and manage SmartApps - the AWS Lambda or webhook endpoints that implement the SmartThings lifecycle (PING, CONFIGURATION, INSTALL, UPDATE, EVENT, UNINSTALL) - including...
SmartThings Installed Apps API
List, get, and delete a user's Installed Apps and read their configurations, and create Installed App events - the per-user installations of a SmartApp within a Location.
SmartThings Presentations API
Generate, create, and retrieve device Presentations and device configurations - the metadata that drives how a device is rendered and controlled in the SmartThings app.
SmartThings History API
Query the paginated event History for devices and locations - the time-ordered record of device state changes and events.
SmartThings Virtual Devices API
Create and manage Virtual Devices and push events to them - software devices with prototype or standard profiles used for testing automations and integrations without physical h...