Skip to main content

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/signup
  • POST /api/auth/login
  • POST /api/auth/google
  • GET /api/auth/me (requires Authorization: Bearer <token>)
  • POST /api/auth/logout