{"service":"Email Marketing Backend","version":"1.0.0","status":"running","endpoints":{"health":"/health","ready":"/ready","subscribe":"POST /api/contacts/subscribe","confirm":"GET /api/contacts/confirm?token=...","unsubscribe":"GET /api/contacts/unsubscribe?token=...","leadSubscribe":"POST /api/leads/subscribe","leadConfirm":"GET /api/leads/confirm?token=...","leadUnsubscribe":"GET /api/leads/unsubscribe?token=...","campaigns":"GET /api/campaigns","createCampaign":"POST /api/campaigns","testCampaign":"POST /api/campaigns/:id/test","sendCampaign":"POST /api/campaigns/:id/send","dashboardStats":"GET /api/dashboard/stats","campaignStats":"GET /api/dashboard/campaign-stats?period=week|month|year","abTestStats":"GET /api/dashboard/ab-test-stats?company_profile_id=...&campaign_name=...","recentCampaigns":"GET /api/dashboard/recent-campaigns","dashboardContacts":"GET /api/dashboard/contacts","dashboardCampaigns":"GET /api/dashboard/campaigns","dashboardLogs":"GET /api/dashboard/logs","automationWorkflows":"GET /api/automations/workflows","automationEnrollments":"GET /api/automations/enrollments","createWorkflow":"POST /api/automations/workflows","enrollContact":"POST /api/automations/workflows/:id/enroll","newsletterEmailContents":"GET /api/newsletter/email-contents","newsletterBranches":"GET /api/newsletter/available-branches","newsletterIndividualize":"POST /api/newsletter/individualize","newsletterCreateCampaigns":"POST /api/newsletter/create-campaigns","adCampaigns":"GET /api/ad-campaigns?company_profile_id=...","adCampaignById":"GET /api/ad-campaigns/:id","adCampaignBySlug":"GET /api/ad-campaigns/by-slug/:slug","createAdCampaign":"POST /api/ad-campaigns","updateAdCampaign":"PUT /api/ad-campaigns/:id","deleteAdCampaign":"DELETE /api/ad-campaigns/:id","resendWebhook":"POST /api/webhooks/resend","facebookLeadsWebhook":"POST /api/webhooks/n8n/facebook-leads?company_profile_id=...&campaign_slug=...","calendlyWebhook":"POST /api/bookings/webhook/calendly","bookings":"GET /api/bookings?company_profile_id=...","bookingStats":"GET /api/bookings/stats?company_profile_id=...","updateBookingStatus":"PATCH /api/bookings/:id/status"}}