This directory contains documentation for all API endpoints in Interview Genie.
All API responses follow this standard format:
{
"success": boolean,
"data": object | null,
"error": string | null,
"meta": {
"timestamp": string,
"requestId": string
}
}Common error status codes:
- 400: Bad Request
- 401: Unauthorized
- 403: Forbidden
- 404: Not Found
- 429: Too Many Requests
- 500: Internal Server Error
- 3 attempts per 5 minutes for authentication
- 100 requests per minute for authenticated endpoints
- 50 requests per day for AI-powered features
All protected endpoints require a valid JWT token in the Authorization header:
Authorization: Bearer <token>
Required environment variables for API functionality are documented in .env.example