REST API reference. All endpoints accept and return application/json unless noted. = requires login session.
Base URL
https://your-app.replit.appAuthentication
Login viaPOST /api/auth/login with -c cookies.txt (curl) or credentials: "include" (fetch). The session cookie is automatically sent on all subsequent requests.This API ships machine-readable specs so any AI assistant or tool can understand and call it correctly — no manual reading required.