/
OP
openhab
/
openHAB REST API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 1h ago · Updated 3w ago
View markdown
openhab
openHAB REST API
post
Creates a rule.
v1
latest
OpenAPI 3.0.1
2026-07-17
154
98
233.4 KB
actions
2
addons
10
audio
4
auth
5
channel-types
3
config-descriptions
2
discovery
2
events
3
habpanel
2
iconsets
1
inbox
5
items
17
links
7
logging
4
module-types
2
persistence
8
profile-types
1
root
1
rules
17
get
Get available rules, optionally filtered by tags and/or prefix.
post
Creates a rule.
post
Sets the rule enabled status.
get
Gets the rule actions.
get
Gets the rule corresponding to the given UID.
put
Updates an existing rule corresponding to the given UID.
delete
Removes an existing rule corresponding to the given UID.
get
Gets the rule conditions.
get
Gets the rule configuration values.
put
Sets the rule configuration values.
get
Gets the rule's module corresponding to the given Category and ID.
get
Gets the module's configuration.
get
Gets the module's configuration parameter.
put
Sets the module's configuration parameter value.
get
Gets the rule triggers.
post
Executes actions of the rule.
get
Simulates the executions of rules filtered by tag 'Schedule' within the given times.
services
6
sitemaps
7
systeminfo
2
tags
5
templates
2
thing-types
2
things
12
transformations
5
ui
6
uuid
1
voice
10
rules
Creates a rule.
post
/rules
Request body
RuleDTO
required
triggers
TriggerDTO[]
conditions
ConditionDTO[]
actions
ActionDTO[]
configuration
object
configDescriptions
ConfigDescriptionParameterDTO[]
templateUID
string
uid
string
name
string
tags
string[]
visibility
'VISIBLE'
|
'HIDDEN'
|
'EXPERT'
description
string
Response
Created