Skip to main content

Overview

The Mission Control REST API provides programmatic access to identity resolution, attribution data, customer analytics, and platform management. The API is organized into modules covering the full platform functionality. Base URL: https://id.lunarmc.ai/api/

Authentication

All API endpoints require JWT Bearer token authentication. Obtain a token using the /api/get_token/ endpoint and refresh it with /api/refresh_token/.

Public API (v1)

The v1 API provides external access for integrations and requires an API key.

API Modules

Customer identification and identity resolution analytics.
Comprehensive customer profiles and analytics.
Attribution, order credit, and channel performance analytics.
Executive summary, KPIs, and sales dashboards.
Campaign and marketing analytics.
Ad platform channel analytics and GA4 data.
High-level dashboard metrics and visitor analytics.
Audience segmentation and targeting.
Customer segmentation funnels and analysis.
OAuth connections and third-party integrations.
User registration, authentication, and account management.
Custom report builder and saved reports.
Dashboard builder with charts and insights.
Stripe subscription and billing management.
Feature flag management for clients.
Privacy compliance and data management.
Data anomaly detection and alerts.
AI-powered analytics chatbot.
Annotation and note management.
Campaign, creative, and ad management.
Background job management for integrations.

Webhooks

Mission Control receives webhooks from connected platforms: