cURL
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 } } }
Get current subscription plan and usage statistics
Use JWT token (from Supabase auth) or API key (format: sk_live_...)
Usage stats retrieved
true
Show child attributes