Skip to main content
Use this overview to see every backend endpoint that ships with Sabo. For conceptual guidance on patterns (validation, auth guards, folder structure), see Server APIs.

Available Endpoints

Sabo includes the following pre-built API endpoints:

Authentication

Marketing

Payments (Stripe)

All endpoints include proper authentication, validation, error handling, and TypeScript types. Click any endpoint above to view detailed documentation.

Adding Custom Endpoints

To add your own API routes:
  1. Create a new route file in src/app/api/[your-route]/route.ts
  2. Export HTTP method handlers (GET, POST, PUT, DELETE)
  3. Use Zod for request validation
  4. Add proper error handling and status codes
  5. Document your endpoint by creating a new page in docs/api-reference/endpoint/
See existing endpoints (like checkout-sessions.mdx) for documentation templates and patterns.