API reference
Account & Usage
The account behind your credential: who it is, the plan it is on and when that renews, which features it may use, how much of each limit and quota it has used, and what the credential itself may do (its permissions and its rate limit). Read it first to know what the rest of the API will let you do. The wallet balance is `GET /balance`. 1 endpoint. Add your API key in the authentication panel to send test requests from this page.
Read the account behind your credential
GET
/api/external/v1/accountEverything about the account and the credential you call with, in one answer. Always readable, whatever the account's feature policy closes. Never carries a secret.
account:id,name,email,companyName,timeZone(IANA id;UTCwhen none is set: the zone daily limits start over in),language(the app's language for the account),product(the product the account belongs to),role,createdAt.plan:tier;current(the plan it is on: its name, prices and included amounts as the billing page shows them,customtrue when its prices were changed for this account; null when on none);seller(kindAGENCY or PLATFORM, and the agency'sname);pending(a plan switched to at the next charge, with its dateon);activation(while the first period of a plan signed up for is unpaid);subscription(billingPeriodMONTHLY or ANNUAL,monthlyFee, a paid yearlyterm,nextCharge{on,period,amount} - when the plan renews, nullonwhen nothing is scheduled -inTrial,nextAllowanceReset);trialEndsAt;frozen(charges failed past the grace period).features:{feature: true|false}for every feature of the account's policy (its plan, its agency and the platform decide it). A feature that is false is refused by every route of it with 403FEATURE_NOT_ENABLED.limits: the account's limits next to their use, read from the same counters that enforce them:concurrency(running at once),rates(per time window),dailyCaps(per day, withresetsAt),allowances(how many may exist),monthlyIncluded(included each month before usage is billed),monthlyCaps(hard monthly ceilings, withresetsOn),storage(usedBytes,limitBytes) andconcurrencyLines. Each row has a stablekey, alabel, adescription, thelimitand what isused/inUse/remaining.assistant: the assistant on the account's plan, in counts only:available(and theunavailablereason code when not),level, andallowance(periodStart,resetsOn,unlimited, andquotas: per kind of activity - messages, call minutes, background check-ins, tasks and more - the numberincluded(null: no limit),used,chargedbeyond the quota and whether it ispaused). Null when it cannot be read.credential: the key or OAuth client of this request:id,kind(API_KEY or OAUTH_CLIENT),name,accessMode(FULL_ACCESS or CUSTOM),fullAccess,permissions(every permission it holds; Full access holds every workspace permission, and a personal permission only where it was ticked for it),expiresAt, andrateLimit(enforced,capacity,refillTokens,refillPeriodSeconds; the same limit comes back on every response asX-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset).links:balance, the route of the wallet balance.
Responses
200OK