Skip to main content
POST
Set organization notification rules

Authorizations

Authorization
string
header
required

User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).

Body

application/json
event
string
required

Event selector (exact type, family wildcard like run.*, or *)

Minimum string length: 1
channel_id
string
required

Target notification channel id

Minimum string length: 1
org_id
string<uuid>

Organization this call targets. Required for account-scoped channel/rule ops and inbox.

realm_id
string

When set, upsert a realm/team rule; omit for org-global

Minimum string length: 1
team_slug
string

Optional team scope under the realm

Minimum string length: 1
priority
integer

Rule priority (higher wins within a tier when supported)

recipients
string[] | null

Who receives it: invitee | org_owners | inviter | user | user ids; null = the channel destinations; omit to keep

Response

Success.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required