Skip to main content
POST
Configure a video room's chat content-safety policy

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Scheduled room id.

Body

application/json
enabled
boolean
required

Master switch. When false the send handler behaves exactly as before (deliver-first).

mode
enum<string>
required

What to do with a matched message. block rejects it pre-broadcast; flag delivers-and-marks it for review; log delivers it unchanged and records the match.

Available options:
block,
flag,
log
categories
enum<string>[]
required

Built-in content-safety categories to screen for (deduped server-side).

Maximum array length: 3
Available options:
profanity,
pii,
toxicity
custom_blocklist
string[]
required

Operator-curated exact / word-boundary terms, applied whenever the policy is enabled regardless of categories.

Maximum array length: 200
Required string length: 1 - 100

Response

The room's chat content policy after the update.

data
object
meta
object