API Reference

Complete documentation for the ZetaIQ API

Authentication

The ZetaIQ API uses API keys for authentication. Include your API key in the Authorization header of all requests.

curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.zetaiq.com/v1/campaigns
POST /v1/campaigns

Create a new advertising campaign

Parameters

Parameter Type Description
name string Name of the campaign
budget number Campaign budget in USD
start_date string Campaign start date (ISO 8601)
{ "name": "Summer Campaign 2025", "budget": 10000, "start_date": "2025-06-01T00:00:00Z", "end_date": "2025-06-30T23:59:59Z", "targeting": { "countries": ["US", "CA"], "platforms": ["web", "mobile"] } }
{ "id": "camp_123xyz", "name": "Summer Campaign 2025", "status": "draft", "created_at": "2025-05-15T10:30:00Z", "budget": 10000, "start_date": "2025-06-01T00:00:00Z", "end_date": "2025-06-30T23:59:59Z" }