Skip to main content
This guide walks you through authenticating, submitting a moderation request, and checking the result.

Prerequisites

  • A Omnifence account. Sign up at the dashboard — your organization is provisioned automatically on first signup.
  • An API key. Create one from the API Keys page in the dashboard — the raw value is shown once at creation, so copy it immediately.
  • cURL or any HTTP client.

Steps

1

Authenticate

Include your API key as a Bearer token in the Authorization header with every request.
2

Submit an image moderation request

Send an image URL for moderation. The API returns a job ID immediately. Use POST /api/v1/moderate/prompt to moderate a text prompt instead, or POST /api/v1/moderate/video for a video URL.
Response
3

Check job status

Poll the job endpoint with the returned job_id.
Response
4

Set up a webhook (optional)

Instead of polling, register a webhook to receive results automatically.
Response

Next steps

Authentication

Learn how API keys work and how to manage them.

Content moderation

Understand the full moderation pipeline.

Real-time progress

Stream live progress updates for long-running jobs.

Handle a rejection

Understand decision logic and what to do when a job is rejected.

Webhook reliability

Build reliable webhook handling with fallback polling.

API reference

Full endpoint reference with request and response schemas.