Docs

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:

  1. Installation & Setup
  2. Authentication
  3. Sending your first email

API Categories

APIDescriptionBase Path
Email APITransactional email sending and inbox management/api/email/*
Billing APIStripe integration for subscriptions/api/billing/*
Auth APIUser authentication and sessions/api/auth/*
Projects APIProject management/api/projects/*
Admin APIAdministrative operations/api/admin/*

SDKs

SDKDescription
ChatGPT Apps SDKBuild 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.

On this page