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/login
POST
/auth/register
POST
/auth/refresh
POST
/auth/logout
View Documentation
User Management
Comprehensive user CRUD operations, profile management, and user search functionality.
coming
soon
View Documentation
Email Services
Email verification, password reset, and notification email management endpoints.
POST
/email/verify-email
POST
/email/resend-verification-email
POST
/email/forgot-password
POST
/email/reset-password
View 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/v1
API Version
v1
Required Headers
Content-Type: application/json
Authorization: Bearer TOKEN
Accept: application/json
Rate 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.