Documentation Index
Fetch the complete documentation index at: https://docs.affelios.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Overview
The Affelios Platform API uses API Key authentication for all requests. This simple and secure method is ideal for server-to-server integrations and provides reliable access control.Authentication Method
- API Key Authentication (Primary)
- Simple header-based authentication using
X-Api-Key - Suitable for server-to-server integrations
- Long-lived credentials with configurable expiration
- Per-operator access control
- Simple header-based authentication using
API Key Authentication
Obtaining API Keys
API keys are generated through the Affelios dashboard:- Via Dashboard
- Log into your Affelios account
- Navigate to Settings > API Keys
- Click “Generate New API Key”
- Provide a descriptive name for your integration
- Copy and securely store the generated key
API Key Structure
Using API Keys
All API requests must include your API key in theX-Api-Key header:
Required Header:
Troubleshooting
Common Issues
Authentication Errors
Authentication Errors
401 Unauthorized:
- Verify API key is correct and active
- Check that key has required permissions
- Ensure key hasn’t been revoked or expired
- Confirm user has necessary permissions
- Check if key scope matches request
- Verify program access rights
Permission Issues
Permission Issues
Insufficient Permissions:
- Review key permission configuration
- Request additional permissions if needed
- Check user role and access level
- Verify data belongs to user’s scope
- Check program-level permissions
- Confirm affiliate vs operator access
Integration Problems
Integration Problems
Connection Issues:
- Verify API endpoint URL
- Check network connectivity
- Confirm SSL/TLS configuration
Getting Help
Support Resources
If you encounter issues with API authentication or usage:
- 📚 API Documentation: API Reference - Detailed endpoint information and examples
- 🔧 Troubleshooting: Error Handling - Common issues and solutions
- 🧪 Testing: Testing Guide - Tools and resources for testing your integrations
- ⚡ Best practices: Best Practices - Guidelines for secure and efficient integrations