Skip to content

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
Base URL (your deployed Next.js app)
Authorization Header (optional)
Try in Live App →

Get Current Session

GET/api/auth/session
Base URL (your deployed Next.js app)
Authorization Header (optional)
Try in Live App →

Sign In

POST/api/auth/signin
Base URL (your deployed Next.js app)
Authorization Header (optional)
Request Body (JSON)
Try in Live App →

Sign In as Admin

POST/api/auth/signin
Base URL (your deployed Next.js app)
Authorization Header (optional)
Request Body (JSON)
Try in Live App →

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: include on your Next.js deployment.
  • Server Actions: Not included here — use the Live Demo Gallery to test Server Actions in context.

Released under the MIT License.