JavaScript
accounts
Get the authenticated caller's account.
Returns the account the API key or session is authenticated against, including id, name, tier, and billing summary.
GET
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
OK
Account information.
The account ID.
The account name.
The account tier.
Available options:
ACCOUNT_TIER_INVALID, ACCOUNT_TIER_BASIC, ACCOUNT_TIER_PRO, ACCOUNT_TIER_ENTERPRISE, ACCOUNT_TIER_TRIAL, UNRECOGNIZED The account status.
Available options:
ACCOUNT_STATUS_INVALID, ACCOUNT_STATUS_ONBOARDING, ACCOUNT_STATUS_ENABLED, ACCOUNT_STATUS_DISABLED_BY_ADMIN, ACCOUNT_STATUS_DISABLED_QUOTA_REACHED, ACCOUNT_STATUS_TRIAL_CANCELLED, ACCOUNT_STATUS_STRIPE_PENDING_RESOURCES, UNRECOGNIZED The account creation timestamp.
The account billing information.
Deprecated: use billing.stripe.customer_id.
Deprecated: use billing.stripe.active_subscription.
Deprecated: use billing.account_billing_type.
Available options:
STRIPE, AWS_MARKETPLACE, STRIPE_PROJECTS, UNRECOGNIZED Deprecated: use billing.aws.customer_identifier.
