How do I test the Loyalteez API?
Use the Interactive API Explorer below. Click 'Try it out' on any endpoint, enter your Brand ID and parameters, then click 'Execute' to see the real API response. No coding required!
Interactive API Explorer
Test Loyalteez API endpoints directly in your browser. No code required - just fill in the form and execute!
The API Explorer lets you test endpoints without writing any code.🚀 Full API Explorer
💡 Try It Out: Click "Try it out" on any endpoint to test the API directly. Fill in the parameters and click "Execute" to see real responses.
🔧 Quick Request Builder
Want to test a specific endpoint quickly? Use the request builder:
🔧 API Request Builder
⚠️ Note: This is a demo. Replace YOUR_BRAND_ID with your actual Brand ID from the Partner Portal.
📚 Available Endpoints
Event Tracking
- POST /loyalteez-api/manual-event - Track a customer event
- POST /loyalteez-api/bulk-events - Submit multiple events
- GET /loyalteez-api/event-config - Get event configurations
Gas Relayer
- POST /relay - Execute gasless transaction
Health & Diagnostics
- GET /loyalteez-api/diagnostic - System health check
🎯 How to Use
Step 1: Open an Endpoint
Click on any endpoint in the explorer above to expand it.
Step 2: Click "Try it out"
This enables the interactive form.
Step 3: Fill in Parameters
Enter your:
- Brand ID (from Partner Portal)
- Event Type (e.g.,
newsletter_signup) - User Email (test email)
- Other parameters as needed
Step 4: Execute
Click the "Execute" button to send the request.
Step 5: View Response
See the real API response with:
- Status code
- Response body
- Headers
- Response time
💡 Tips
- Use test emails like
[email protected]for testing - Brand ID can be found in Partner Portal → Settings → Account
- Check response codes - 200 = success, 400 = validation error
- Copy code examples - Click "Code" to see examples in different languages
🔐 Authentication
Most endpoints use Brand ID authentication (included in request body).
Gas Relayer endpoints require Privy Bearer token (get from Privy SDK).
📖 Next Steps
- Complete API Reference - Full documentation
- Event Handler Guide - Event tracking details
- Gas Relayer Guide - Gasless transactions
- Quick Start Guide - Get started in 5 minutes
🆘 Need Help?
- API Issues: Check Error Codes
- Questions: FAQ
- Support: [email protected]
- Community: Discord