API Reference

v2.0.1

Complete API reference for Wazza Engine. This documentation is automatically generated from our OpenAPI specification and stays in sync with the latest API changes.

97
Total Endpoints
GET: 52
POST: 27
PUT: 9
DELETE: 9

Base URL

https://api.wazza.aiProduction

Authentication

All API requests require authentication using either JWT tokens or API keys.

JWT Authentication (User Sessions)

Authorization: Bearer YOUR_JWT_TOKEN

API Key Authentication (Service-to-Service)

X-API-Key: YOUR_API_KEY

Rate Limits

API requests are rate-limited based on your subscription tier:

TierRequests/HourCredits/Month
Free5050
Pro500500
Team2,000Custom
Enterprise10,000+Custom

API Endpoints

Browse all 97 available endpoints organized by category. Click any endpoint to view detailed documentation.

Authentication

POST
/v1/auth/register

Register New User

Create a new user account

POST
/v1/auth/login

Login

Authenticate user and get JWT token

POST
/v1/auth/refresh

Refresh JWT Token

Refresh an expired JWT token using a valid refresh token

POST
/v1/auth/logout

Logout

Logout user and invalidate refresh token

GET
/v1/auth/google

Initiate Google OAuth

Redirect to Google OAuth consent screen with optional return URL. **Multi-Frontend Support**: Use the `state` parameter to specify where tokens should be delivered after authentication. **Example**: - Console: `GET /v1/auth/google?state=https://console.wazza.ai/dashboard` - Standalone App: `GET /v1/auth/google?state=https://app.wazza.ai/home` - No state: Redirects to `FRONTEND_URL` environment variable (default) **Security**: Only whitelisted URLs (configured in `ALLOWED_FRONTEND_URLS`) can receive tokens.

GET
/v1/auth/github

Initiate GitHub OAuth

Redirect to GitHub OAuth consent screen with optional return URL. **Multi-Frontend Support**: Use the `state` parameter to specify where tokens should be delivered after authentication. **Example**: - Console: `GET /v1/auth/github?state=https://console.wazza.ai/dashboard` - Standalone App: `GET /v1/auth/github?state=https://app.wazza.ai/home` - No state: Redirects to `FRONTEND_URL` environment variable (default) **Security**: Only whitelisted URLs (configured in `ALLOWED_FRONTEND_URLS`) can receive tokens.

POST
/v1/auth/forgot-password

Request Password Reset

Send password reset email to user

POST
/v1/auth/reset-password

Reset Password

Reset password using token from email

POST
/v1/auth/verify-email

Verify Email Address

Verify user email using token from verification email

More Resources