Getting Started
Overview

Integration Overview

Adzen matches a contextual ad to each piece of user-generated content (a post, comment, or thread) and returns a ready-to-render ad payload. Your platform calls three endpoints at different points in the ad lifecycle.

The three core endpoints

EndpointWhen to call
POST /ugc/processWhen a user creates a post or views a thread. Returns the matched ad.
POST /ugc/impressionWhen the ad becomes visible on screen (MRC-compliant viewability).
POST /ugc/disableWhen a user dismisses or reports an ad.

End-to-end flow

Two environments

SandboxProduction
Base URLhttps://sandbox.adzen.aihttps://api.adzen.ai
ResponsesHardcoded fake adsReal matches from the live index
BillingNever chargedPer-impression or per-click
Key prefixsandbox-prod-

Use sandbox to prove out your integration before touching production keys. The response schema is identical between environments — if your client works in sandbox, it will work in production.