🎮 Interactive API Playground
Test all Flowless authentication endpoints with a fully interactive playground. Try requests directly from your browser!
📖 Live API Testing
All endpoints are interactive with real-time request/response testing. Change parameters, headers, and body content to see how the API responds.
� Quick Start
- Select an endpoint from the list below
- Fill in the required parameters
- Click "Try it out" to send the request
- View the response in real-time
Complete authentication backend for modern applications. Flowless provides managed authentication with session management, social login, password reset, and more.
Contact
Servers
Login User
Authenticate a user with email/username and password. Returns a session token for subsequent authenticated requests. Email is automatically converted to lowercase.
Request Body
Responses
Login successful - Returns user data and session information
Logout User
Register Public User
Register a new user account publicly. Requires X-Bridge-Secret header for security. Email and user_name must be unique.
Authorizations
Bridge secret for backend integration
Request Body
Responses
Registration successful
Get Current User
Get current authenticated user profile information. This is the recommended endpoint for retrieving user data.
Authorizations
Session ID for authenticated requests
Responses
User information retrieved
Update User Profile
Update the authenticated user's profile information. This is the recommended endpoint for updating user data. All fields are optional - only provided fields will be updated.
Authorizations
Session ID for authenticated requests
Request Body
Responses
Profile updated successfully
Upload Profile Picture
Upload or update user profile picture. Automatically deletes previous picture if exists. Supports image optimization and cloud storage.
Authorizations
Session ID for authenticated requests
Request Body
Image file (JPEG, PNG, WebP supported)
"binary"Responses
Picture uploaded successfully
Delete Profile Picture
Delete user's profile picture from cloud storage and database.
Authorizations
Session ID for authenticated requests
Responses
Picture deleted successfully
Request Password Reset
Request a password reset email
Request Body
Responses
Password reset email sent
Complete Password Reset
Reset password using token from email
Request Body
Responses
Password reset successful
Validate Password Reset Token
Validate a password reset token before allowing password change. This endpoint checks if the token is valid and not expired.
Request Body
Responses
Token validation result
Change Password
Change password for authenticated user. Requires current password for security. New password must be at least 8 characters.
Authorizations
Session ID for authenticated requests
Request Body
Responses
Password changed successfully
Validate Session
Validate the current session and return user information. Session can be provided via X-Session-ID header or session_id cookie.
Authorizations
Session ID for authenticated requests
Responses
Session is valid
Validate Session (Bridge)
Validate a session token for bridge integration. Requires X-Bridge-Secret header. Session ID can be provided in JSON body, query parameter, or X-Session-ID header.
Authorizations
Bridge secret for backend integration
Parameters
Query Parameters
Session ID as query parameter (alternative to body)
Request Body
Responses
Session is valid - Returns user and session information
Create Verification Token
Create a verification token for email or phone authentication. Sends a verification code via email or SMS. Requires X-Bridge-Secret header.
Authorizations
Bridge secret for backend integration
Request Body
Responses
Verification token created and sent successfully
Validate Token (GET)
Validate a verification token via query parameter and create a session. Requires X-Bridge-Secret header.
Authorizations
Bridge secret for backend integration
Parameters
Query Parameters
Verification token
"tok_abc123def456"Responses
Token validated successfully
Validate Token (POST)
Validate a verification token and create a session. Token can be provided in JSON body or query parameter. Requires X-Bridge-Secret header.
Authorizations
Bridge secret for backend integration
Parameters
Query Parameters
Token as query parameter (alternative to body)
Request Body
Responses
Token validated successfully - Returns user and session
Email Verification Link
Email verification endpoint for clicking verification links. No authentication required. Returns HTML page with verification status.
Parameters
Query Parameters
Verification token from email link
Optional redirect URL after successful verification
Responses
HTML page showing verification result
Start OAuth Flow
⚠️ BETA FEATURE - Initiate OAuth authentication flow with a social provider (Google, GitHub, Facebook, Apple, Discord, Microsoft). Redirects to provider's login page.
Parameters
Path Parameters
Social authentication provider
"google""github""facebook""apple""discord""microsoft"Responses
Redirect to OAuth provider login page
OAuth Callback Handler
⚠️ BETA FEATURE - Handle OAuth callback from social provider. This endpoint is called automatically by the OAuth provider after user authentication.
Parameters
Path Parameters
"google""github""facebook""apple""discord""microsoft"Query Parameters
Authorization code from OAuth provider
Response format (json for API clients, omit for web redirect)
"json"Responses
Authentication successful (API format)
API-Based Social Login (Mobile)
⚠️ BETA FEATURE - Authenticate using social provider access token or ID token. Designed for mobile apps that handle OAuth flow client-side.
Parameters
Path Parameters
"google""github""facebook""apple""discord""microsoft"Request Body
Responses
Authentication successful
Get Available Providers
⚠️ BETA FEATURE - Get list of enabled social authentication providers and their configuration.
Responses
List of available providers
Get Linked Social Accounts
⚠️ BETA FEATURE - Get list of social accounts linked to the authenticated user.
Authorizations
Session ID for authenticated requests
Responses
List of linked social accounts
Unlink Social Account
⚠️ BETA FEATURE - Unlink a social account from the authenticated user.
Authorizations
Session ID for authenticated requests
Parameters
Path Parameters
"google""github""facebook""apple""discord""microsoft"Responses
Account unlinked successfully
Resend Verification Email
Resend verification email to a registered user. Requires X-Bridge-Secret header. For security, always returns success even if email doesn't exist.
Authorizations
Bridge secret for backend integration
Request Body
Responses
Request processed successfully (doesn't reveal if email exists)
Search and List Users
Search and list users with pagination and filtering. Requires admin or superadmin role.
Authorizations
Session ID for authenticated requests
Parameters
Query Parameters
Search query (searches in email, name, username)
Filter by user type (can be any custom user type: customer, admin, superadmin, teacher, student, etc.)
"customer"Page number
1Items per page
20Sort field
"created_at"Sort order
"asc""desc""desc"Responses
Users list retrieved successfully
Create New User
Create a new user account. Requires admin or superadmin role. Only superadmin can create superadmin users. Admin-created users are verified by default.
Authorizations
Session ID for authenticated requests
Request Body
Responses
User created successfully
Get User Details
Get detailed information about a specific user including their sessions. Requires admin or superadmin role.
Authorizations
Session ID for authenticated requests
Parameters
Path Parameters
User ID
"usr_123abc"Responses
User details retrieved successfully
Update User
Update user information. Requires admin or superadmin role. Non-superadmin cannot modify superadmin users. Only superadmin can change user types to/from superadmin.
Authorizations
Session ID for authenticated requests
Parameters
Path Parameters
User ID
Request Body
Responses
User updated successfully
Change User Password (Admin)
Change password for any user. Requires admin or superadmin role. Non-superadmin cannot change superadmin passwords. Invalidates all active sessions for the target user.
Authorizations
Session ID for authenticated requests
Request Body
Responses
Password changed successfully
📚 Additional Resources
💡 Need More Help?
- 📖 Complete API Reference - Detailed documentation with Scalar
- 🎨 Flowfull Clients - Pre-built UI components and SDKs
- 🚀 Getting Started Guide - Set up your first instance
- 💬 Discord Community - Get help from the community
🔧 Alternative Testing Tools
You can also use these popular API clients:
- Postman - Full-featured API client
- Insomnia - Simple and elegant
- Thunder Client - VS Code extension
- HTTPie - Command-line HTTP client