API Reference
Welcome to the Stayzr Hotel Management System API documentation. This reference provides detailed information about all available API endpoints across our microservices architecture.
Available Services
Authentication
Most API endpoints require authentication. Include your API key in the request headers:
Authorization: Bearer YOUR_API_TOKEN
Rate Limiting
API requests are rate-limited to ensure fair usage:
- Standard tier: 100 requests per minute
- Premium tier: 1000 requests per minute
Error Handling
All APIs use standard HTTP status codes and return errors in the following format:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"details": {}
}
}
Support
For API support, please contact:
- Email: api-support@stayzr.com
- Documentation issues: GitHub