API Overview
RESTful API for programmatic server management. Authentication, rate limits, and conventions.
Navigation
API Overview
The Macyou API is a RESTful JSON API. All endpoints require authentication via API key in the Authorization header.
Base URL
https://api.macyou.co/v1Authentication
Authorization: Bearer mk_live_...Rate Limits
API calls are limited to 60 requests per minute per API key. Rate limit headers are included in every response:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1713400800Error Format
{
"error": {
"code": "invalid_request",
"message": "The 'chip' field must be one of: m4, m4-pro",
"status": 400
}
}