Skip to main content
PUT
Update automation

Авторизації

Authorization
string
header
обов'язково

API token from the Zenedu dashboard

Параметри шляху

bot
integer
обов'язково

Bot ID

automation
integer
обов'язково

Automation ID

Тіло

application/json
when_event
string
обов'язково

Event name from the catalog

then_action
string
обов'язково

Action name from the catalog

when_payload
object | null

Target fields for the event (see the catalog)

then_payload
object | null

Target fields for the action (see the catalog)

conditions
object[] | null

Optional conditions

Відповідь

Automation updated

data
object