Skip to content

Conversation

@AndyTWF
Copy link
Contributor

@AndyTWF AndyTWF commented Feb 2, 2026

Description

  • Add webhook moderation documentation.
  • Fix the word "rule" being used in places.

CHA-1242

Checklist

@AndyTWF AndyTWF requested a review from a team February 2, 2026 09:49
@coderabbitai
Copy link

coderabbitai bot commented Feb 2, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chat-webhook-moderation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AndyTWF AndyTWF force-pushed the chat-webhook-moderation branch from 157b57c to ce6077f Compare February 2, 2026 09:49
@AndyTWF
Copy link
Contributor Author

AndyTWF commented Feb 2, 2026

@ably/team-deved This is ready for review, but have kept in draft until we're ready to merge.

---
title: Webhook
meta_description: "Detect and remove unwanted content in a Chat Room using a custom webhook endpoint."
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a meta_keywords please?

Comment on lines +10 to +12
* Integrate with a custom moderation service hosted on your own infrastructure
* Implement your own moderation logic using any web server or serverless platform
* Use a moderation provider that isn't directly supported by Ably
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Integrate with a custom moderation service hosted on your own infrastructure
* Implement your own moderation logic using any web server or serverless platform
* Use a moderation provider that isn't directly supported by Ably
* Integrate with a custom moderation service hosted on your own infrastructure.
* Implement your own moderation logic using any web server or serverless platform.
* Use a moderation provider that isn't directly supported by Ably.

Comment on lines +35 to +40
* Keep your endpoint response time as low as possible to minimize latency
* Implement proper error handling and logging
* Consider implementing rate limiting if you're using a third-party moderation service
* Use HTTPS to encrypt data in transit
* Authenticate requests using the headers field to prevent unauthorized access to your endpoint
* Consider implementing caching for frequently occurring content
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Keep your endpoint response time as low as possible to minimize latency
* Implement proper error handling and logging
* Consider implementing rate limiting if you're using a third-party moderation service
* Use HTTPS to encrypt data in transit
* Authenticate requests using the headers field to prevent unauthorized access to your endpoint
* Consider implementing caching for frequently occurring content
* Keep your endpoint response time as low as possible to minimize latency.
* Implement proper error handling and logging.
* Consider implementing rate limiting if you're using a third-party moderation service.
* Use HTTPS to encrypt data in transit.
* Authenticate requests using the headers field to prevent unauthorized access to your endpoint.
* Consider implementing caching for frequently occurring content.

Comment on lines +35 to +40
* Keep your endpoint response time as low as possible to minimize latency
* Implement proper error handling and logging
* Consider implementing rate limiting if you're using a third-party moderation service
* Use HTTPS to encrypt data in transit
* Authenticate requests using the headers field to prevent unauthorized access to your endpoint
* Consider implementing caching for frequently occurring content
Copy link
Contributor

@m-hulbert m-hulbert Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 'frequently occurring content' a thing in moderation OOI?

I think 'reoccurring' might read better if so.

When implementing your webhook endpoint, consider the following:

* Keep your endpoint response time as low as possible to minimize latency
* Implement proper error handling and logging
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention about how to view errors from our side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants