API Overview
Base URL
Replace this with your production base URL:
https://api.langwa.com
Authentication
All protected endpoints use bearer tokens:
Authorization: Bearer <access_token>
Error format
Errors return a consistent JSON payload:
{
"error": {
"code": "string",
"message": "string",
"details": "optional"
}
}
Rate limits
Document your current rate limits here, including limits per endpoint and per user/IP.
Implemented endpoints
All API routes are prefixed with /api.
Auth
POST /api/auth/signupPOST /api/auth/loginPOST /api/auth/googleGET /api/auth/me(requiresAuthorization: Bearer <token>)POST /api/auth/logout