# ------------------------------------------------- # CopyPilot llms.txt # Provides a flat, crawlable map of all public pages, # SPA routes, API endpoints and webhooks. # ------------------------------------------------- # 1. Public SPA Routes # (All handled by index.html via client‐side routing) # Homepage (marketing, signup funnel) Source: https://copy-pilot.ai/ get / # Features overview Source: https://copy-pilot.ai/#features get /#features # Pricing page Source: https://copy-pilot.ai/#pricing get /#pricing # Terms of Service Source: https://copy-pilot.ai/terms get /terms # Privacy Policy Source: https://copy-pilot.ai/privacy get /privacy # Dashboard (app entry point after login) Source: https://copy-pilot.ai/dashboard get /dashboard # Profile Settings (Account details & Security) Source: https://copy-pilot.ai/profile/settings get /profile/settings # Danger Zone (Delete account) Source: https://copy-pilot.ai/profile/settings#danger-zone get /profile/settings#danger-zone # 2. Authentication Helpers # (All handled via Supabase Auth client-side flows) # Sign Up / Sign In widget Source: https://copy-pilot.ai/auth get /auth # OAuth callback handler (Supabase) Source: https://copy-pilot.ai/auth/callback get /auth/callback # 3. API: Content Generation # Generate generic copy (ads, social, email, etc.) Source: https://copy-pilot.ai/api/generate-content post /api/generate-content/ Create marketing copy based on user-submitted parameters. # “Deepseek” long-form / conversational content API Source: https://copy-pilot.ai/api/ai-copy-prompt post /api/ai-copy-prompt/ Stream-style generative endpoint for interactive Q&A or deep content. # 4. API: Hook & Plan Generators # Generate hooks (attention-grabbing prompts) Source: https://copy-pilot.ai/api/HookGenerator post /api/HookGenerator/ Produce short “hooks” for ads or social posts. # Generate content plans (outlines, calendars) Source: https://copy-pilot.ai/api/ContentPlanGenerator post /api/ContentPlanGenerator/ Return structured content plans or posting calendars. # 5. API: Billing & Subscription # Create a Stripe Checkout session (upgrade flow) Source: https://copy-pilot.ai/api/create-checkout-session post /api/create-checkout-session/ Initiate Stripe Checkout for new or renewed subscriptions. # Stripe webhook endpoint (listen for payment events) Source: https://copy-pilot.ai/api/stripe-webhook post /api/stripe-webhook/ Receive & handle Stripe events (e.g. invoice.paid, subscription.updated). # Check trial or subscription status Source: https://copy-pilot.ai/api/check-trial-status get /api/check-trial-status/ Return whether the current user is on trial, expired, or active. # Redirect to Stripe customer portal Source: https://copy-pilot.ai/api/billing/create-portal post /api/billing/create-portal/ Return a URL for the hosted Stripe billing portal. # 6. API: Usage & Analytics # Fetch usage statistics (API call count, tokens used) Source: https://copy-pilot.ai/api/usage-tracking get /api/usage-tracking/ Retrieve per-user usage metrics for dashboard & rate-limit checks. # 7. API: Account Management # Delete current user account & data Source: https://copy-pilot.ai/api/delete-account post /api/delete-account/ Permanently removes all user data, cancels subscription, then deletes account. # 8. Webhooks & Integrations # Supabase realtime webhook (if configured) Source: https://copy-pilot.ai/api/supabase-webhook post /api/supabase-webhook/ Optional: receive Supabase Auth or DB events (e.g. user.created). # 9. Static Assets & Fallback # Single­-page app fallback Source: https://copy-pilot.ai/index.html get /index.html Serves SPA shell for all non-API routes (404s funnel here). # 10. Health & Status # App health-check (for uptime monitoring) Source: https://copy-pilot.ai/api/health get /api/health/ Simple 200 OK response for uptime checks. # ------------------------------------------------- # End of llms.txt # -------------------------------------------------