Codapult
DocsBlogPricingPluginsDemo
Get Codapult
Logo

Build your SaaS with AI. Keep the architecture under control.

Get Codapult

Product

  • Pricing
  • Architecture
  • Modules
  • AI platform
  • Plugins

Developers

  • MCP
  • CLI
  • Documentation
  • Launch your SaaS
  • Build a B2B SaaS

Resources

  • Blog
  • FAQ

Connect

  • Contact
  • GitHub

Compare

  • SaaS template comparison
  • Codapult vs Supastarter
  • Codapult vs Makerkit
  • Codapult vs ShipFast
  • Codapult vs SaaSBold
  • Codapult vs Gravity
  • Codapult vs Nextbase
  • Codapult vs BuilderKit

Featured on

Codapult on LaunchNestCodapult on LaunchNestbetterlaunch.cobetterlaunch.coFeatured on LaunchBuffFeatured on LaunchBuffCodapult on PeerPushCodapult on PeerPushFeatured on LaunchItFeatured on LaunchIt
© 2026 Codapult·All rights reserved·Privacy Policy·Terms of Service
Full source code · One-time purchase · Self-host anywhere
All articles

Getting Started

  • Introduction
  • Quick Start
  • Your First 30 Minutes
  • Project Structure
  • License and Permitted Use
  • Starter Profiles and Recipes
  • Product Recipes

Configuration

  • Environment Variables
  • App Configuration
  • Which Modules Should I Enable?
  • Provider Matrix
  • Capability Coverage

Database

  • Database and Provider Guide
  • Database
  • Migrations

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Ai

  • AI Runtime Architecture and Evals
  • AI Features
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Security

  • Data Retention Policy
  • Security

Deployment

  • Enterprise E2E Evidence
  • Enterprise Production Readiness
  • Deployment, Backup, and Restore Runbook
  • Deployment
  • Troubleshooting

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Welcome Page
  • Referrals
  • GDPR Export and Deletion
  • Promotions
  • Outgoing Webhooks

Plugins

  • Plugin System
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
  • Build Your First Feature with Codapult MCP
  • How Guard Blocks an Architectural Regression
Modules

GDPR Export and Deletion

Export user data and delete accounts with the built-in GDPR compliance helpers.

Codapult includes GDPR-oriented account controls: data export and account deletion. They are implemented as server-side helpers plus authenticated API routes.

Endpoints

RouteMethodPurpose
/api/account/exportGETDownload user data as JSON
/api/account/deletePOSTDelete the authenticated user's account

Exported data

exportUserData(userId) gathers:

  • User profile
  • Sessions and linked auth accounts
  • Subscriptions
  • Organizations
  • Notifications and preferences
  • Activity log
  • API keys without key hashes
  • Usage credits and events
  • Feature requests and votes
  • Experiment assignments

Sensitive auth tokens are omitted from the export.

Deletion behavior

deleteUserAccount(userId) deletes the user and associated records. It also handles organization membership cleanup: if the user is the last member of an organization, the organization and invitations are removed.

Subscriptions should be canceled or handled with your billing provider before deletion if your product requires that policy.

Key files

FilePurpose
src/lib/gdpr/index.tsExport and deletion helpers
src/app/api/account/export/route.tsJSON export route
src/app/api/account/delete/route.tsAccount deletion route
src/lib/db/schema.tsRelated user/account/org tables

Product checklist

  • Add UI copy that explains account deletion consequences.
  • Require explicit confirmation before deletion.
  • Decide whether subscriptions are canceled automatically or manually.
  • Log deletion events before the user row is removed if your compliance policy requires it.
ReferralsPromotions