Advanced Moderation Guide v1
Advanced Moderation Guide
Advanced Moderation Guide
Version 1

Webhooks

Copy link

Moderation events merit special attention. With webhooks turned on in your Sendbird application, your server will receive HTTP POST requests from Sendbird server with a payload containing details of the event whenever a moderation event occurs. You can use the webhooks to keep track of the moderation events in your application and take necessary actions based on the events.


Configuration

Copy link

As Advanced moderation is part of Sendbird Chat, you can configure a webhook endpoint URL and other settings on the Settings > Chat > Features and Webhooks on the Sendbird Dashboard.

  1. Toggle on the Webhooks under Settings > Chat > Features first.
  2. Then go to Settings > Chat > Webhooks to set up your webhook endpoint URL and event types.

To learn more, see our guide on webhooks for Sendbird Chat.


Webhook events

Copy link

Advanced moderation webhooks are available for all Sendbird Chat customers. Among all the events that you can receive through Sendbird Chat webhooks, the following events are related to advanced moderation features:

EventInvoked when

user:block

A user blocks another user.

user:unblock

A user unblocks another user.

user:mute

A user is muted in a specific channel or across the application.

user:ban

A user is banned from a specific channel or across the application.

user:deactivate

A user account is deactivated.

image_moderation:block

A message with explicit images or inappropriate image URLs is blocked.

profanity_filter:replace

Explicit words in a message are replaced with asterisks (*).

profanity_filter:block

A message with explicit words is blocked.

profanity_filter:moderate

A user is imposed with one of the moderation penalties among mute, kick, and ban.

profanity_filter:detect

A message with explicit words is detected without being blocked or replaced.

message:moderation_extension_triggered

A message triggers a custom moderation extension.

advanced_profanity_filter:block

A message is blocked by the advanced profanity filter based on keyword group rules.

advanced_profanity_filter:no_action

The advanced profanity filter detects keywords but takes no action, logging the event for auditing.

advanced_profanity_filter:replace

The advanced profanity filter replaces detected keywords in a message with placeholder characters.