Server API Reference
REST APIDocumentation
Complete REST API reference for EasyAuth server endpoints. Build powerful authentication backends with our comprehensive API.
API Endpoints
Explore our comprehensive REST API endpoints organized by functionality
Authentication
Complete authentication endpoints for login, registration, token management, and password operations.
POST
/auth/loginPOST
/auth/registerPOST
/auth/refreshPOST
/auth/logoutView Documentation
User Management
Comprehensive user CRUD operations, profile management, and user search functionality.
coming
soonView Documentation
Email Services
Email verification, password reset, and notification email management endpoints.
POST
/email/verify-emailPOST
/email/resend-verification-emailPOST
/email/forgot-passwordPOST
/email/reset-passwordView Documentation
JWT Token Authentication
Use JWT access tokens for user-specific API requests.
Authorization: Bearer eyJhbGciOiJSUzI1NiI...API Example
curl -X POST https://easyauth-server.vercel.app/api/v1/auth/login \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"email": "user@example.com",
"password": "securePassword123"
}'
# Response
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": "user_1234567890",
"email": "user@example.com",
"name": "John Doe",
"email_verified": true,
"picture": "https://example.com/avatar.jpg",
"created_at": "2023-01-15T10:30:00Z",
"updated_at": "2023-01-15T10:30:00Z"
},
"expires_in": 3600
}API Information
Base URL
https://easyauth-server.vercel.app/api/v1API Version
v1Required Headers
Content-Type: application/jsonAuthorization: Bearer TOKENAccept: application/jsonRate Limits
API rate limits to ensure fair usage and optimal performance
50
Requests per 15 minute from IP
5
Auth requests per 15 minute from IP
5MB
Maximum payload size
SDKs
Don't want to work with REST directly? Try our official SDK directly in your application.