SDK Documentation
Complete API and SDK reference for the Next.js 16 Starter Kit
SDK Documentation
Welcome to the SDK documentation for the Next.js 16 Starter Kit. This comprehensive guide covers all available APIs and the ChatGPT Apps SDK integration.
Overview
This documentation provides detailed information about:
- ChatGPT Apps SDK - Integrate your app as a widget inside ChatGPT
- Email API - Send emails, manage inboxes, domains, and webhooks
- Billing API - Stripe checkout, subscriptions, and usage tracking
- Auth API - Multi-provider authentication and session management
- Projects API - Project CRUD operations
- Admin API - Administrative endpoints for system management
Quick Start
Get started with the most common tasks:
API Categories
| API | Description | Base Path |
|---|---|---|
| Email API | Transactional email sending and inbox management | /api/email/* |
| Billing API | Stripe integration for subscriptions | /api/billing/* |
| Auth API | User authentication and sessions | /api/auth/* |
| Projects API | Project management | /api/projects/* |
| Admin API | Administrative operations | /api/admin/* |
SDKs
| SDK | Description |
|---|---|
| ChatGPT Apps SDK | Build widgets that run inside ChatGPT |
Authentication
Most API endpoints require authentication. See the Authentication Guide for details on:
- API key authentication
- Session-based authentication
- OAuth providers
Rate Limits
All API endpoints are rate-limited. See Rate Limiting for details.