Skip to main content
POST
Create an automation rule

Body

application/json
actions
object[] | null
required

Actions array

name
string
required

Rule name

scope
string
required

Scope type (EVENT, SPACE, CONTACT, GLOBAL)

conditions
object

Condition block with 'conditions' array

description
string

Optional description

enabled
boolean

Whether the rule is active (default: true)

priority
integer<int64>

Execution priority (default: 0)

schedule
object

Optional schedule for time-based triggers

scope_id
string

Optional scope entity ID

Response

Created

actions
object[] | null
required
conditions
object
required
created_at
string<date-time>
required
created_by_kind
string
required
creator_id
string
required
enabled
boolean
required
id
string
required
name
string
required
priority
integer<int64>
required
scope
string
required
updated_at
string<date-time>
required
version
integer<int64>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.linebundle.com/schemas/Rule.json"

description
string
org_id
string
schedule
object
scope_id
string
Last modified on June 11, 2026