Account

Get account details

Get the current credit balance and subscription details of the account that owns the API key.

get/v1/account

Response

200

idstring required

Unique ID of the account that owns the API key.

emailstring nullable required

Email address of the account.

tier'free' | 'creator' | 'pro' | 'business' required

Subscription tier in effect for the account. free if there is no active subscription, including while a subscription is past_due.

creditsinteger required

Credits currently available to spend. Includes subscription credits and any purchased credit packs.

Example response

{
  "id": "cuid-example",
  "email": "user@example.com",
  "tier": "pro",
  "credits": 12500,
  "subscription": {
    "name": "Pro",
    "status": "active",
    "price": {
      "amount": 4900,
      "currency": "usd"
    },
    "discount": {
      "percent_off": 20
    },
    "billing_interval": "month",
    "current_period_end": "2026-10-01T00:00:00.000Z"
  }
}

Changes

Changed in 1 of the 66 revisions of this API.1