v1

latestOpenAPI 3.1.02026-07-22154213404.8 KB
Flows

Create a flow

Create a flow that binds a trigger (triggerId) to an ordered list of actions, with at least one action required. Optional settings include target deviceIds, a cooldown (cooldownSeconds/cooldownScope), and webhook notifications on success or failure.

post/flows

Request body

namestring required
descriptionstring
triggerIdstring uuid required
enabledboolean
deviceIdsstring[]
cooldownSecondsinteger nullable
cooldownScope'flow' | 'device'
notifyWebhookIdstring uuid nullable
notifyOnSuccessboolean
notifyOnFailureboolean

Response

Flow created