Creating Your First Site
Sites are the core of PixelPatrol - they represent the websites or applications you want to protect with content moderation. This guide will walk you through creating your first site.Prerequisites
Before you begin, make sure you have:Step 1: Navigate to Sites
- From the dashboard, click Sites in the navigation menu
- You’ll see the Sites overview page
- Click the “Add New Site” button

Step 2: Basic Site Information
Fill in the basic details for your site:A friendly name for your site (e.g., “Main Website”, “Mobile App”)
The full URL of your site (e.g.,
https://example.com
)Important: Description that provides context to the AI moderation system about your site’s purpose, target audience, and content standards. This helps the AI make appropriate moderation decisions based on your site’s specific context.
Example Configuration
The URL is used for webhook callbacks and site identification. Make sure it’s
accessible from the internet if you plan to use webhooks.
Step 3: Configure Moderation Settings
Select Moderation Type
Choose how content will be moderated for this site:- AI Moderation
- Rule-Based
- Hybrid
Automated AI-Powered Moderation Best for: High-volume content, real-time
moderation needs - Content is automatically analyzed by AI - Instant
moderation decisions - Configurable confidence thresholds
AI moderation uses advanced models to detect inappropriate content, spam,
and policy violations.
Set Confidence Threshold
If using AI moderation, configure the confidence threshold:- Low (60-70%): More content flagged, fewer false negatives
- Medium (70-85%): Balanced approach
- High (85-95%): Only very confident violations flagged
Start with a medium threshold (75%) and adjust based on your moderation
results.
Step 4: Webhook Configuration (Optional)
Webhooks allow PixelPatrol to notify your application when moderation decisions are made.Enable Webhooks
1
Toggle Webhooks On
Click the webhook toggle to enable webhook notifications
2
Enter Webhook URL
Provide your endpoint URL that will receive moderation results
https://api.example.com/webhooks/moderation
3
Generate Webhook Secret
Click “Generate Secret” to create a secure webhook signing key
Save this secret immediately - it won’t be shown again!
Webhook Payload Example
Your webhook endpoint will receive POST requests with this structure:Step 5: Rule Group Assignment (Optional)
If you have existing rule groups, you can assign them to your site:- In the “Rule Groups” section, click “Assign Rule Groups”
- Select the rule groups you want to apply
- Order them by priority (rules are evaluated top to bottom)

Rule groups allow you to reuse moderation rules across multiple sites. You can
create rule groups later if you don’t have any yet.
Step 6: Review and Create
Before creating your site, review your configuration: Click “Create Site” to save your configuration.Step 7: Get Your Site Key
After creating your site, you’ll receive a site key:- Copy the site key shown in the success message
- Store it securely in your application’s environment variables
- You can always retrieve it later from the site settings
Testing Your Site
Now that your site is created, let’s test the integration:Quick Test
- Navigate to your site’s detail page
- Click “Test Moderation”
- Upload a test image or enter test text
- View the moderation results
API Test
Test your integration with a simple API call:Managing Your Site
After creation, you can:View Analytics
Monitor moderation statistics and trends
Edit Settings
Update configuration, thresholds, and webhooks
View Logs
Review webhook delivery logs and errors
Manage Rules
Add or modify rule groups for this site
Common Configuration Patterns
E-commerce Site
Social Platform
Corporate Website
Troubleshooting
Webhook not receiving events
Webhook not receiving events
- Verify your webhook URL is publicly accessible - Check that SSL certificate is valid (HTTPS required) - Review webhook logs in the site detail page - Ensure your endpoint returns 200 OK status
Site key not working
Site key not working
- Confirm you’re using the correct site key - Check that the site is active - Verify your subscription has available moderations - Try regenerating the site key in settings
Moderation results seem incorrect
Moderation results seem incorrect
- Adjust the confidence threshold - Review and update your rule groups - Check if content type matches configuration - Contact support with example content
Best Practices
Site Organization Tips:
- Use descriptive names: “Mobile App - User Comments” instead of “App 1”
- Write detailed descriptions: Provide clear context about your site’s purpose, audience, and content standards to help AI make appropriate moderation decisions
- Group by purpose: Create separate sites for different content types
- Document webhook endpoints: Keep track of which endpoints handle which sites
- Test thoroughly: Always test moderation settings with real content samples
- Monitor regularly: Check analytics to fine-tune your configuration