Skip to main content
Use the REST API to build report exports, dashboards, or tools that create and manage campaigns. The API base URL is:
Create a read API key for reports or a write key to make changes. See Authentication to connect your application.

Choose your task

Build your first report integration

Begin by finding the campaign that your integration will query:
A successful response has ok: true. Find your campaign in data.campaigns and copy its ID. Next, query reports and events for that ID with explicit dates and timezone. Compare the result with the tracker before scheduling the export.

Create campaigns and choose routing

To create a campaign, select a traffic source and a saved rotator. Configure the rotator’s default path in the tracker or through a Read and write MCP connection before creating the campaign through the API. Choose an active tracking domain and test the campaign’s tracking link before sending traffic. See Campaigns for tracking setup and Archive and restore for retiring campaigns.

Keep the client aligned with the contract

Each endpoint page lists its request fields and response shape. The public OpenAPI file can be downloaded for client generation or contract checks. See API errors for handling failed requests.