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.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.
- Overview
- Authentication
- Environments
- Reference data
- Errors
- FAQ
Your system talks to two services that share a single API key.
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.
Files exceeding the size limit are rejected at upload initiation with HTTP 413.
| Service | Base URL | Responsibilities |
|---|---|---|
| File API | files.adclear.ai | Resumable chunked file upload; upload status tracking |
| Integration API | public-api.adclear.ai | Promotions, evaluations, reference data, outbound webhooks |
Key concepts
| Concept | Description |
|---|---|
| Promotion | A piece of promotional content submitted for compliance review |
| Version | An immutable snapshot of uploaded files within a promotion. Version 1 is created with the promotion; subsequent versions represent revisions |
| Evaluation | An asynchronous compliance review of a specific version. Produces a set of issues with cited rules |
| Webhook | An outbound HTTP POST from Adclear to your endpoint when an event occurs (for example, when evaluation completes) |
| Metadata | An 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
| Format | MIME type | Max size |
|---|---|---|
application/pdf | 30 MB | |
| PNG | image/png | 30 MB |
| JPEG | image/jpeg | 30 MB |
| WebP | image/webp | 30 MB |
| MP4 | video/mp4 | 2 GB |
| MOV | video/quicktime | 2 GB |
| MP3 | audio/mpeg | 2 GB |
| WAV | audio/wav | 2 GB |
| DOCX | application/vnd.openxmlformats-officedocument.wordprocessingml.document | 10 MB |
| XLSX | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | 10 MB |
| HTML | text/html | N/A |
| Inline text/HTML | N/A | N/A (via content field; no upload required) |
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.