API Authentication
All Hixbe API requests require authentication to ensure security and proper access control. We support Bearer token authentication with API versioning.Authentication Methods
Bearer Token Authentication
Include your API key in theAuthorization header using the Bearer scheme:
API Keys
Types of API Keys
- Secret Keys: Full access to all API operations. Keep these secure and never expose them in client-side code.
- Publishable Keys: Limited access for client-side operations (e.g., payment form integration).
- Restricted Keys: Scoped access with specific permissions and resource limitations.
Managing API Keys
Access your dashboard
Log in to dash.hixbe.com and navigate to the API Keys section.
Create a new key
- Click “Create API Key”
- Choose the key type (Secret, Publishable, or Restricted)
- Set permissions and restrictions if applicable
- Add a descriptive name for tracking
API Versioning
All requests must include theHixbe-Version header to specify which API version to use:
Current version:
2026-01-01We recommend always specifying the latest version to access the newest features and improvements.Security Best Practices
Key Security
- Never expose secret keys in client-side code
- Use environment variables for key storage
- Rotate keys every 90 days
- Monitor key usage in your dashboard
- Use restricted keys when possible
Request Security
- Always use HTTPS for all API requests
- Validate SSL certificates
- Implement proper error handling
- Use idempotency keys for critical operations
- Rate limit your requests appropriately
Environment Separation
- Use separate API keys for sandbox and production
- Test thoroughly in sandbox before going live
- Implement environment-specific configurations
- Use different subdomains for testing vs production
Authentication Errors
Common Error Codes
| Error Code | Description | Solution |
|---|---|---|
INVALID_API_KEY | The provided API key is invalid | Check your API key and ensure it’s correct |
MISSING_AUTH_HEADER | Authorization header is missing | Include the Authorization header with Bearer token |
INSUFFICIENT_PERMISSIONS | API key lacks required permissions | Create a key with appropriate permissions or contact support |
EXPIRED_API_KEY | The API key has expired | Generate a new API key in your dashboard |
INVALID_VERSION | Unsupported API version | Use a supported version (currently 2026-01-01) |
Error Response Format
Testing Authentication
Use our sandbox environment to test authentication without affecting production data:Sandbox and production use separate API keys and data. Always test authentication in sandbox first.
Need Help?
Troubleshooting
Common authentication issues and solutions
Best Practices
Security and integration best practices
API Versioning
Learn about API versioning requirements
Support
Contact our support team