User Profile

Retrieve the authenticated user's profile and current plan status.

GET /api/user

Example Request

curl -X GET "https://developer.nabzclan.vip/api/user" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"

Response Body

{
  "id": 2,
  "name": "username",
  "nabzclan_user_id": 14,
  "plan": {
    "name": "VIP 4",
    "daily_limit": 500,
    "ai_limit": 500,
    "ai_period": "day"
  },
  "usage": {
    "today": 11,
    "limit": 500,
    "remaining": 489
  }
}

Note: A value of -1 for any limit or remaining count indicates "Unlimited".

The ai_period indicates the reset frequency for AI limits (day or week).