Get your account
/accountUse 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-VersionstringOptionalThe 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}$
200OK The account.
objectstringRequiredThe object's type. Always "account".
idstring (uuid)RequiredThe account's id.
displayNamestring or nullRequiredThe account's display name.
statusstringRequiredactive, or closed.
One ofactiveclosedcompanyobject or nullRequiredThe company on the account's invoices, or null.
Show 2 child attributesHide 2 child attributes
namestringRequiredThe company's legal name.
gstinstring or nullRequiredThe company's Indian GSTIN, printed on its invoices, or null.
billingCountrystring or nullRequiredThe billing address's country, ISO 3166-1 alpha-2, or null when no billing address is set.
pattern ^[A-Z]{2}$billingCurrencystring or nullRequiredThe 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 nullRequiredWhy 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-unavailableapiOrderingbooleanRequiredWhether services can be ordered through the API. The account owner changes it in the panel.
serviceEmailsForApiOrdersbooleanRequiredWhether 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.
livemodebooleanRequiredTrue 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.