Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.adclear.ai/llms.txt

Use this file to discover all available pages before exploring further.

Adclear provides an automated compliance evaluation service for promotional content. You upload a file, classify it against your organisation’s regulatory rules, and receive an evaluation. Results, including specific findings with cited rules, are delivered via webhooks. This page covers everything you need before making your first request: the two services, authentication, environments, reference data, error handling, and the questions integrators ask most often.
Your system talks to two services that share a single API key.
ServiceBase URLResponsibilities
File APIfiles.adclear.aiResumable chunked file upload; upload status tracking
Integration APIpublic-api.adclear.aiPromotions, evaluations, reference data, outbound webhooks
Data flow. You initiate an upload via the File API, PUT the file in one or more chunks, then reference the upload by ID when creating a promotion via the Integration API. Evaluation results are delivered asynchronously to your webhook endpoint.

Key concepts

ConceptDescription
PromotionA piece of promotional content submitted for compliance review
VersionAn immutable snapshot of uploaded files within a promotion. Version 1 is created with the promotion; subsequent versions represent revisions
EvaluationAn asynchronous compliance review of a specific version. Produces a set of issues with cited rules
WebhookAn outbound HTTP POST from Adclear to your endpoint when an event occurs (for example, when evaluation completes)
MetadataAn arbitrary key-value map you attach at promotion creation. Adclear stores it and echoes it back in every webhook so you can correlate events to your own entities

Supported file formats

FormatMIME typeMax size
PDFapplication/pdf30 MB
PNGimage/png30 MB
JPEGimage/jpeg30 MB
WebPimage/webp30 MB
MP4video/mp42 GB
MOVvideo/quicktime2 GB
MP3audio/mpeg2 GB
WAVaudio/wav2 GB
DOCXapplication/vnd.openxmlformats-officedocument.wordprocessingml.document10 MB
XLSXapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet10 MB
HTMLtext/htmlN/A
Inline text/HTMLN/AN/A (via content field; no upload required)
Files exceeding the size limit are rejected at upload initiation with HTTP 413.

Next steps

File upload

Initiate an upload, send chunks, and check status.

Creating promotions

Combine uploads with classification metadata.

Evaluation

Trigger and poll evaluation results.

Webhooks

Receive results asynchronously and verify signatures.