Profanity Filter API Documentation
Complete reference for the Profanity Filter API
Authentication
Authorization: Bearer sk_live_your_key_here
GET POST /v1/profanity/process
Parameters
| Field | Type | Description |
|---|---|---|
text | string | Text to analyze (required, max 10,000 chars) |
action | string | check, censor, or highlight (default: check) |
language | string | en or ar (default: en) |
replacement | string | Replacement for censor action (default: ***) |
Example
curl -X POST "https://snapapis.com/api/v1/profanity/process" \ -d "api_key=KEY&action=censor&text=Your text here&language=en"