Skip to main content
PUT
Upsert a notification rule

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Path Parameters

org_id
string<uuid>
required

Body

application/json

Request body for creating or updating a single notification rule (auto-save per toggle).

event
string
required

Notification event type

Required string length: 1 - 50
channel
string
required

Notification channel: in_app, email, slack, discord

Required string length: 1 - 50
enabled
boolean
required

Whether this event is enabled for this channel

Response

Successful Response

success
boolean
default:true
data
NotificationRuleResponse · object | null

Response schema for a notification rule.