ClickPattern Backend API
This is the backend API service for ClickPattern V2.
Available Endpoints:
- GET /api/health - Health check
- POST /api/auth/signup - User registration
- POST /api/auth/confirm - Email confirmation
- POST /api/auth/login - User login
- POST /api/auth/logout - User logout
- GET /api/auth/me - Get current user
- GET /api/settings/traffic-sources - Get traffic sources
- GET /api/settings/traffic-sources/[id] - Get traffic source by ID
- GET /api/settings/affiliate-networks - Get affiliate networks
- GET /api/settings/affiliate-networks/[id] - Get affiliate network by ID
- GET /api/settings/domains - Get domains
- GET /api/settings/domains/[address] - Get domain by address
- GET /api/settings/country-labels - Get country labels
- GET /api/settings/country-labels/[code] - Get country label by code
- GET /api/settings/tracking-tokens - Get tracking tokens
- GET /api/settings/tags - Get tags
- POST /api/landers - Create new lander
- POST /api/landers/verify - Verify lander URL
Environment: production
Stage: local
Region: us-central1