Skip to main content
POST
Create workflow rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Maximum string length: 255
event
enum<string>
required
Available options:
run_completes,
run_fails,
run_skipped,
any,
ping
condition_operator
enum<string>
required
Available options:
and,
or
provider_slug
string | null
ping_target_id
string<uuid> | null
is_active
boolean
cooldown_minutes
integer
Required range: 0 <= x <= 10080
conditions
object[]
actions
object[]
Minimum array length: 1

Response

WorkflowRuleResource

data
WorkflowRuleResource · object
required
success
boolean
required
code
integer
required
message
string
required
Allowed value: "Workflow rule created successfully."