Comprehensive API documentation for analytics data collection and retrieval
Base URL: http://localhost:3000All API endpoints require authentication using the API key header:
x-adminify-analytics-core-api-key: YOUR_API_KEY_HEREReplace YOUR_API_KEY_HERE with your actual API key from your environment configuration.
{
"error": "Missing required header: x-adminify-analytics-core-api-key"
}{
"error": "Invalid API key"
}{
"error": "At least one of brandId, reportingId, or locationId is required"
}{
"error": "Missing required field: contactId"
}{
"error": "Failed to fetch analytics summary"
}