RESTful API for integrating with Clubmate volleyball management platform
Production: https://api.clubmatevolleyball.com
All API endpoints are prefixed with /api
Most endpoints require authentication using a JWT token in the Authorization header:
Authorization: Bearer {your_jwt_token}
Obtain a token by logging in via POST /api/auth/login
Request Body:
{
"email": "user@example.com",
"password": "yourpassword"
}
Response:
{
"success": true,
"token": "jwt_token_here",
"user": { ... }
}
Response:
{
"success": true,
"message": "API is running"
}
All club-specific routes require authentication and access to the specified club.
All endpoints may return the following error responses:
401 Unauthorized:
{
"error": "Unauthorized",
"message": "Invalid or expired token"
}
403 Forbidden:
{
"error": "Forbidden",
"message": "Access denied"
}
404 Not Found:
{
"error": "Not Found",
"message": "Resource not found"
}
500 Internal Server Error:
{
"error": "Internal server error",
"message": "Error details"
}
API requests are rate-limited to ensure fair usage. Current limits:
Rate limit headers are included in all responses:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1640995200
For API support, questions, or to request API access: