Interactive API Playground
Test live requests against your deployed Next.js app. Enter the base URL of your deployment below.
Health Check
GET/api/health
Get Current Session
GET/api/auth/session
Sign In
POST/api/auth/signin
Base URL (your deployed Next.js app)
Authorization Header (optional)
Request Body (JSON)
Sign In as Admin
POST/api/auth/signin
Base URL (your deployed Next.js app)
Authorization Header (optional)
Request Body (JSON)
Notes
- CORS: Cross-origin requests work for endpoints that include CORS headers. If you see a CORS error, use the "Try in Live App" link to interact with the endpoint directly in the deployed app's context.
- Session cookies: Session cookies are not sent in cross-origin requests by default. Use the same browser session as your deployed app, or configure CORS with
credentials: includeon your Next.js deployment. - Server Actions: Not included here — use the Live Demo Gallery to test Server Actions in context.