F Fashio Docs
Account & Templates

Account

One call to check who a key belongs to, what plan it's on, and how many credits are left — useful for showing your own users their Fashio usage without sending them to the dashboard.

GET /v1/account no body

Request

curl https://api.fashiolabs.com/v1/account \
  -H "Authorization: Bearer fio_live_YOUR_KEY"
const res = await fetch("https://api.fashiolabs.com/v1/account", {
  headers: { Authorization: "Bearer " + process.env.FASHIO_API_KEY },
});
const account = await res.json();
import os, requests

res = requests.get(
    "https://api.fashiolabs.com/v1/account",
    headers={"Authorization": f"Bearer {os.environ['FASHIO_API_KEY']}"},
)
account = res.json()

Response

200{ "success": true, "email": "brand@example.com", "diamondBalance": 214, "plan": { "isPremium": true, "status": "active", "planProductId": "growth_yearly", "provider": "revenuecat", "cancelAtPeriodEnd": false, "renewsAt": "2026-09-27T00:00:00.000Z" } }

Fields

FieldDescription
emailThe account's email, or null if unavailable.
diamondBalanceCurrent credit balance — the same number Pricing & Credits is quoted against.
plan.isPremiumWhether an active paid plan is on the account.
plan.statusOne of active, will_expire, paused, billing_issue, expired, refunded, none.
plan.planProductIdThe subscribed product id, or null with no active plan.
plan.cancelAtPeriodEndtrue if the plan is cancelled but still active until renewsAt.
plan.renewsAtISO 8601 timestamp of the next renewal/expiry, or null with no active plan.
i
There's no separate API quota — diamondBalance is the exact same balance shown in the app and dashboard. Top up or upgrade from dash.fashiolabs.com.