API Reference

Core endpoints for sending installs, sessions, attribution checks, and custom events.

Endpoint Method Purpose
/api/v1/install.phpPOSTTrack new installs
/api/v1/session_start.phpPOSTTrack app open / session start
/api/v1/session_end.phpPOSTTrack session close
/api/v1/event.phpPOSTTrack custom events
/api/v1/ad_event.phpPOSTTrack ad monetization / ad engagement
/api/v1/attribution.phpPOSTRun attribution lookup
/api/v1/batch.phpPOSTSend multiple events in one request
/api/v1/ping.phpGETHealth check

Sample Event Payload

{
  "app_id": 12,
  "api_key": "YOUR_API_KEY",
  "device_id": "device_abc_123",
  "campaign_id": 99,
  "event_name": "purchase",
  "event_value": 1,
  "event_revenue": 4.99,
  "currency": "USD",
  "platform": "android",
  "event_time": "2026-03-16 13:00:00"
}

Response Format

{
  "success": true,
  "message": "Event recorded",
  "event_id": 12345
}