Skip to main content
GET
/
subscription
/
usage
Get Usage Statistics
curl --request GET \
  --url https://api.d1g.qzz.io/api/v1/subscription/usage \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "currentPlan": "Basic",
    "planId": "basic",
    "billingCycle": "monthly",
    "status": "active",
    "uploadsUsed": 15,
    "uploadsLimit": 25,
    "uploadsResetAt": "2025-02-01T00:00:00.000Z",
    "tiktokProfilesUsed": 1,
    "tiktokProfilesLimit": 2,
    "scheduledPostsUsed": 5,
    "scheduledPostsLimit": 25,
    "isAdmin": false,
    "features": {
      "hasApiAccess": true,
      "hasAnalytics": true,
      "hasScheduling": true,
      "hasPrioritySupport": false,
      "hasVideoUrlSupport": true,
      "hasPhotoUpload": true,
      "hasWebhooks": false,
      "hasTeamCollaboration": false
    }
  }
}

Authorizations

Authorization
string
header
required

Use JWT token (from Supabase auth) or API key (format: sk_live_...)

Response

200 - application/json

Usage stats retrieved

success
boolean
Example:

true

data
object