Swift
Swift Moderation API
Add content moderation to your Swift app with a single REST call.
Works with URLSession, Alamofire, and any Swift HTTP client. Apple Guideline 1.2 compliance included.
What it detects
- • Content filtering
- • User reporting
- • User blocking
- • Hate & harassment
- • Sexual content
- • Violence & self-harm
Why developers choose Vettly
- • REST API works with any Swift HTTP client
- • Pre-built App Store policy template
- • Sub-300ms latency for real-time filtering
- • All four Guideline 1.2 requirements in one API
Example request
bashcurl -X POST https://api.vettly.dev/v1/check \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"content": "You are terrible.", "contentType": "text"}'Example response
json{
"flagged": true,
"action": "block",
"categories": {
"harassment": 0.93,
"hate": 0.02
},
"policy": "default",
"latency_ms": 142
}Compared to building in-house
Vettly handles content filtering, reporting, blocking, and audit trails so you can focus on your app, not compliance infrastructure.
Swift integration guideKeep exploring
Content Moderation API
One endpoint for text, image, and video moderation.
OpenAI Moderation Alternative
Keep OpenAI speed while adding workflows, images, and video.
UGC Moderation API
Moderate posts, comments, profiles, and media at scale.
React Native Moderation API
Add moderation to React Native apps without custom backend glue.
Get an API key
Start making decisions in minutes with a Developer plan and clear upgrade paths.
Get an API key