Creates a new automation for the authenticated project.
Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.
Human-readable name for the automation. Must be 1–255 characters.
1 - 255"Welcome Flow"
Initial status of the automation.
active, inactive "active"
Automation configuration as an arbitrary JSON object.
Optional description. Maximum 1024 characters.
1024"Sends a welcome message to new users"
Automation created successfully.
Always "automation".
automation Unique automation identifier.
"auto-abc123"
Canonical API path for this automation.
"/v4/automations/auto-abc123"
Human-readable name of the automation.
"Welcome Flow"
Optional description of the automation.
"Sends a welcome message to new users"
Lifecycle status of the automation.
"active"
Arbitrary JSON object containing automation configuration.