API Documentation

You're on this page because your signed up on Mixo Ads. We're excited to work with you! Please follow the steps below to integrate our API Infrastructure to your reporting stack.

Generate API Key

API keys are brand-specific to ensure access stays locked at the brand level and prevent any unauthorized usage. If you manage multiple brands on Mixo Ads, you’ll need to generate a separate key for each — since each one only pulls performance data for that specific brand.

Go to: app.mixoads.com/profile and click on “Create API Key” button

The API key will be generated. For security, it will not be shown again so please save it somewhere safe.

Performance Metrics

Use the code guidelines to perform several types of GET requests.

Endpoint

				
					https://app.mixoads.com/api/v1/campaign-analytics
				
			

Parameters

				
					apikey (char(60))
brand_id (int)
startDate (date)
endDate (date)
campaign_id (int)
location_id (int)
				
			

Sample GET call

				
					https://app.mixoads.com/api/v1/campaign-analytics?apikey=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJicmFuZElkIjo2LCJ1c2VySWQiOiI2ZDFjNDBiYi03MTA1LTQ1YmQtYTdlMS00ZTZlMzY1MmI3NmIiLCJpYXQiOjE3NDA2NTYwMzZ9.Ebr1Y7UR4oquOP48ArhlbmmqE7szsfySYKqLmUZwf5s&brand_id=6&startDate=%272024-01-01%27&endDate=%272025-07-28%27&campaign_id=191&location_id=6
				
			

Output JSON (Aggregate & Granular)

				
					{
    "summary": {
        "date_start": "'2024-01-01'",
        "date_end": "'2025-07-28'",
        "total_imp": 20,
        "total_clicks": 20,
        "total_conv": 20,
        "total_spend": 20
    },
    "data": [
        {
            "date": "2024-09-15",
            "brand_id": 6,
            "location_id": 6,
            "total_imp": 10,
            "total_clicks": 10,
            "total_conv": 10,
            "total_spend": 10
        },
        {
            "date": "2024-09-26",
            "brand_id": 6,
            "location_id": 6,
            "total_imp": 10,
            "total_clicks": 10,
            "total_conv": 10,
            "total_spend": 10
        }
    ]
}