Skip to main content
POST

Create automation

POST /api/automations Create a new automation workflow with a trigger and optional description.

Headers

Session cookie (login via POST /api/auth/login)

Body parameters

string
required
Automation name.
string
Description.
string
required
Trigger type (see below).
string
required
WhatsApp channel ID.
string
default:"inactive"
active or inactive.
object
Trigger configuration.

Trigger types