User Info
7/28/26Less than 1 minute
User Info
Get current authenticated user information, including account balance and usage.
⚠️ Important: API Key vs Access Token
| Type | Purpose | Where to Get |
|---|---|---|
| API Key | Call AI APIs (e.g. /v1/chat/completions) | Console → API Keys |
| Access Token | Query usage/balance (like this endpoint) | Console → Personal Security Settings |
These are completely different! Do not confuse them. This endpoint requires an Access Token.
Endpoint
- URL:
/v1/user - Method: GET
- Auth: Access Token required
Request Example
curl https://api.quickapi.store/v1/user \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"Response Example
{
"id": 1,
"username": "user@example.com",
"quota": 100000,
"used_quota": 5000,
"remain_quota": 95000,
"group": "default"
}Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | User ID |
username | string | Username/Email |
quota | integer | Total quota |
used_quota | integer | Used quota |
remain_quota | integer | Remaining quota |
group | string | User group |

