API Reference
Core endpoints for sending installs, sessions, attribution checks, and custom events.
| Endpoint | Method | Purpose |
|---|---|---|
| /api/v1/install.php | POST | Track new installs |
| /api/v1/session_start.php | POST | Track app open / session start |
| /api/v1/session_end.php | POST | Track session close |
| /api/v1/event.php | POST | Track custom events |
| /api/v1/ad_event.php | POST | Track ad monetization / ad engagement |
| /api/v1/attribution.php | POST | Run attribution lookup |
| /api/v1/batch.php | POST | Send multiple events in one request |
| /api/v1/ping.php | GET | Health 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
}