Documentation Index
Fetch the complete documentation index at: https://docs.gameboost.com/llms.txt
Use this file to discover all available pages before exploring further.
Response Format
All API responses follow a consistent JSON structure, making it easy to parse and handle responses in your application.Success Responses
Successful requests return a200 status code with the requested data:
Error Responses
Failed requests return an appropriate error status code with detailed error information:Always include the
request_id when contacting support. This helps us quickly locate and troubleshoot your specific request.HTTP Status Codes
The GameBoost API uses standard HTTP status codes to indicate the success or failure of requests.Success Codes
| Status Code | Meaning | Description |
|---|---|---|
200 | Success | Request completed successfully |
204 | Success (No Content) | Request successful but no data to return |
Client Error Codes
These errors indicate issues with your request or authentication| Status Code | Meaning | Likely Reason |
|---|---|---|
400 Bad Request | Invalid Request | The request syntax is malformed or contains invalid parameters |
401 Unauthorized | Authentication Failed | Missing, invalid, or expired API key |
403 Forbidden | Access Denied | Valid authentication but insufficient permissions for this resource |
404 Not Found | Resource Not Found | The requested resource doesn’t exist or you don’t have access to it |
422 Unprocessable Entity | Validation Failed | Request syntax is correct but data validation failed |
429 Too Many Requests | Rate Limited | You’ve exceeded the rate limit. Slow down your requests |
Server Error Codes
These errors indicate issues on our servers or infrastructure| Status Code | Meaning | Likely Reason |
|---|---|---|
500 Internal Server Error | Server Error | An unexpected error occurred on our servers. Try again later |
502 Bad Gateway | Gateway Error | Temporary issue with our infrastructure. Retry with exponential backoff |
503 Service Unavailable | Service Down | The service is temporarily unavailable. Check our status page |
504 Gateway Timeout | Request Timeout | The request took too long to process. Try again or simplify your request |
Error Response Examples
401 Unauthorized
Cause: Missing or invalid authentication credentials.403 Forbidden
Cause: You don’t have permission to access this resource.404 Not Found
Cause: The requested resource doesn’t exist or you don’t have access to it.422 Unprocessable Entity
Cause: Request validation failed due to invalid data.errors object and correct the specified fields.
429 Too Many Requests
Cause: You’ve exceeded the API rate limit.Retry-After header. See our Rate Limiting Guide.
500 Internal Server Error
Cause: An unexpected error occurred on GameBoost’s servers.request_id.
503 Service Unavailable
Cause: The API is temporarily unavailable, usually due to maintenance.Retry-After seconds and try again. Check our status page for updates.
Handling Errors
Best Practices
Always check status codes
Always check status codes
Don’t rely solely on the presence of data in the response. Always check the HTTP status code to determine if the request was successful.
Parse error details
Parse error details
Extract useful information from error responses to provide better feedback to users or for debugging.
Implement retry logic
Implement retry logic
For transient errors (5xx status codes), implement retry logic with exponential backoff.
Log request IDs
Log request IDs
Always log the
request_id from error responses. This is invaluable when contacting support.Response Headers
All API responses include helpful headers for debugging and rate limiting:| Header | Description |
|---|---|
X-Gameboost-Request-Id | Unique identifier for this request (same as in response body) |
X-RateLimit-Limit | Your rate limit cap for this endpoint type |
X-RateLimit-Remaining | Number of requests remaining in the current window |
X-Ratelimit-Reset | Unix timestamp when the rate limit resets |
Retry-After | Seconds to wait before retrying (only when rate limited) |
Next Steps
Rate Limiting
Learn how to handle rate limits effectively
Webhooks
Set up real-time event notifications
API Reference
Explore all available endpoints
Authentication
Review authentication setup