Skip to main content
POST
Create Notification Rule

Authorizations

Authorization
string
header
required

Client secret for management API access. Format: vela_cs_...

Path Parameters

appId
string
required

App UUID or slug

Body

application/json
name
string
required

Rule display name

eventName
string
required

Event name to watch

conditions
object[]
required

Array of conditions (empty array = trigger on all)

actions
object[]
required

Array of delivery actions

enabled
boolean
default:true

Response

201 - application/json

Rule created

id
string

Rule identifier

appId
string<uuid>
name
string

Rule display name

eventName
string

Event name to watch

conditions
object[]

Conditions to evaluate (empty = trigger on all)

actions
object[]

Delivery actions

enabled
boolean
lastTriggeredAt
string<date-time> | null
triggerCount
integer
createdAt
string<date-time>