Skip to main content

HushSafe public beta is live — get 3 months free for early platforms. Learn more →

API Reference

Full endpoint reference for the HushSafe moderation API.

Base URL

https://api.hushsafe.com/v1

Authenticate with Authorization: Bearer YOUR_API_KEY header on all requests.

Endpoints

MethodPathDescription
POST
/moderate/textModerate text content in real time
POST
/moderate/imageModerate image content (JPEG, PNG, WebP, AVIF)
POST
/moderate/videoModerate video content (async processing)
POST
/moderate/batchBatch moderate up to 100 items per request
GET
/categoriesList available moderation categories
GET
/results/{id}Retrieve async moderation result by ID
POST
/feedbackSubmit human review feedback for model improvement
GET
/usageGet current billing period usage statistics
GET
/webhooksList configured webhook endpoints
POST
/webhooksCreate or update a webhook endpoint

Example Response

{
  "safe": true,
  "score": 0.02,
  "categories": [],
  "processing_time_ms": 47,
  "id": "mod_abc123"
}

Status Codes

200Success
400Bad request — invalid parameters
401Unauthorized — invalid or missing API key
429Rate limit exceeded
500Internal server error

We respect your privacy. Choose which cookies you allow — no third-party ad trackers by default. Cookie policy