GET/api/*

Authentication

All authenticated endpoints require an API key passed via the Authorization header. Generate keys from your Account → API Keys page.

Headers

AuthorizationrequiredBearer <your-api-key>
Content-Typeoptionalapplication/json (for POST requests)

Response

errorstringError message when authentication fails

Examples

bash
curl -H "Authorization: Bearer wg_sk_..." https://wokgen.ai/api/quota

Error Codes

401Missing or invalid API key
403Insufficient scopes for this endpoint