Account

Get current account details

Returns the authenticated user's account information including email, payment status, contact info status, referral code, and usage counts. Agents should call this after authentication to check has_payment_method and has_contact before attempting purchases.

get/api/me

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/me
  • Auth: HTTP bearer

Response

Account details

idstring required
emailstring email required
planstring required

Active personal Domani plan key

workspace_plansstring[] required

Distinct active Mailzero plan keys on workspaces the user can access

has_payment_methodboolean required

Whether the user has a card on file (required before buying domains)

preferred_payment_method'card' | 'usdc' nullable required
preferred_locale'en' | 'fr' | 'es' | 'pt-BR' | 'ja' | 'zh-Hans' | 'it' required

Locale used by Domani interfaces and transactional communications

has_contactboolean required

Whether the user has set WHOIS contact info. Optional for purchases (until it is set, Domani's contact holds new domains on the user's behalf), required before transferring a domain in.

referral_codestring required

Your unique referral code

referral_rateinteger required

Commission percentage on referred purchases

balancenumber

Marketplace credit balance in USD (earned from sales)

domain_countinteger required

Number of domains owned

token_countinteger required

Number of active API tokens

featuresstring[]

Feature flags enabled for this account (GA features plus the preview features granted to the user), e.g. mailzero_assistant

can_manage_assistantboolean

Whether the calling token has the assistant:read scope. Independent of features: a feature flag says the account is eligible for the assistant, this says whether this specific token (full access, or a scoped CLI/OAuth/delegated token) may read or change its settings.

is_adminboolean
created_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.