AI ready
Open in Claude (opens in a new tab)View as Markdown

Get your account

GET/account

Use this to read the account this token belongs to: its name, billing country and currency, and whether API ordering and service emails are on. Owner tokens only.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
account:read
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • Clouduxe-VersionstringOptional

    The API version to use, such as 2026-12-01. Omit it to use your token's version.

    pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

Returns

200OK The account.

  • objectstringRequired

    The object's type. Always "account".

  • idstring (uuid)Required

    The account's id.

  • displayNamestring or nullRequired

    The account's display name.

  • statusstringRequired

    active, or closed.

    One ofactiveclosed
  • companyobject or nullRequired

    The company on the account's invoices, or null.

    Show 2 child attributesHide 2 child attributes
    • namestringRequired

      The company's legal name.

    • gstinstring or nullRequired

      The company's Indian GSTIN, printed on its invoices, or null.

  • billingCountrystring or nullRequired

    The billing address's country, ISO 3166-1 alpha-2, or null when no billing address is set.

    pattern ^[A-Z]{2}$
  • billingCurrencystring or nullRequired

    The currency new orders are billed in, from the billing country. Null when it is not known yet; then see billingCurrencyUnknownReason. There is never a default currency.

    pattern ^[A-Z]{3}$
  • billingCurrencyUnknownReasonstring or nullRequired

    Why billingCurrency is null: no-country (no billing address), bad-country (the address's country is not recognised), usd-unavailable (no payment method takes the local currency or USD). Null when billingCurrency is known.

    One ofno-countrybad-countryusd-unavailable
  • apiOrderingbooleanRequired

    Whether services can be ordered through the API. The account owner changes it in the panel.

  • serviceEmailsForApiOrdersbooleanRequired

    Whether Clouduxe sends service emails (server ready and server rebuilt notices) for services ordered through the API. Switch it off in the panel to send your own emails, using webhooks. Billing, suspension, termination and security emails are always sent to the account.

  • livemodebooleanRequired

    True for objects of your live account.

Every response

  • 200OKThe account.
  • 400Bad requestThe request is not valid. Codes: version_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: forbidden, ip_not_allowed, api_access_disabled, scope_missing.
  • 429Too many requestsA rate limit was reached. Codes: rate_limited.
  • 500Server errorUnexpected error. Codes: internal_error.
  • 503UnavailableTemporarily unavailable. Codes: unavailable.

Updated 5 November 2026. Generated from the API contract.

Need a server, or a hand with one?

Pick a plan to deploy a server, or open a ticket in the panel. Support runs 24/7/365.