Skip to main content

Update Channel Spam Filter

PATCH 

/api/messaging/channels/:channel_id/spam-filter

Switch a channel between inherit/override and edit override fields.

Two valid request shapes (validated by the request model):

  • {"mode": "inherit"} — clears any override; channel uses the integration defaults from now on.
  • {"mode": "override", "enabled": ..., "threshold": ..., "whitelist": [...]} — channel uses its own settings (whitelist replaces the integration's for emails received on this channel).

Request

Responses

Successful Response