Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Body

application/json
actions
object[]
required
Minimum array length: 1
name
string
required
Required string length: 1 - 256
triggerId
string<uuid>
required
cooldownScope
enum<string>
default:flow
Available options:
flow,
device
cooldownSeconds
integer | null
Required range: x >= 0
description
string
Maximum string length: 2048
deviceIds
string<uuid>[]
Maximum array length: 256
enabled
boolean
default:true
healthMonitoringEnabled
boolean
default:true
notifyOnFailure
boolean
default:false
notifyOnSuccess
boolean
default:false
notifyWebhookId
string<uuid> | null
recordingEnabled
boolean
default:false
selfHealingEnabled
boolean
default:true
selfHealingMaxAttempts
integer
default:2
Required range: 1 <= x <= 5

Response

201 - application/json

Flow created

data
object
required