Content Moderation
Detects profanity, hostility, hate speech, and inappropriate content in both agent and customer speech. Critical for HR compliance, agent coaching, and escalation workflows.
curl -X POST https://api.voxparse.com/v1/transcribe \
-H "X-API-Key: YOUR_API_KEY" \
-F "[email protected]" \
-F "plan=pro" \
-F "content_moderation=true"
import requests
r = requests.post("https://api.voxparse.com/v1/transcribe",
headers={"X-API-Key": "YOUR_API_KEY"},
files={"file": open("recording.mp3", "rb")},
data={"plan": "pro", "content_moderation": "true"})
print(r.json()["ai_analysis"]["content_moderation"])
$ch = curl_init("https://api.voxparse.com/v1/transcribe");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
CURLOPT_POSTFIELDS => [
"file" => new CURLFile("recording.mp3"),
"plan" => "pro",
"content_moderation" => "true"
]
]);
$result = json_decode(curl_exec($ch), true);
print_r($result["ai_analysis"]["content_moderation"]);
Response field
"content_moderation": {
"profanity_detected": true,
"profanity_instances": ["Customer: 'This is bull****'"],
"hostility_level": "mild",
"hostile_speaker": "customer",
"inappropriate_content": []
}