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

List API tokens

GET/api-tokens

Use this to audit which tokens exist and when they were last used. The account owner sees every token on the account; anyone else sees their own.

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

How tokens and scopes work: Authentication and scopes.

  • limitintegerOptional

    How many objects to return, 1 to 100. Default 20.

    Default 20min 1, max 100
  • cursorstringOptional

    The nextCursor of the previous page. Valid for 24 hours, with the same filters.

    max length 512
  • 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 A page of tokens.

  • objectstringRequired

    Always "list".

  • dataarray of ApiTokenRequired

    The objects on this page.

    Show 16 child attributesHide 16 child attributes
    • objectstringRequired

      The object's type. Always "api_token".

    • idstring (uuid)Required

      The token's id.

    • namestringRequired

      The token's name.

    • prefixstringRequired

      The token's prefix: cxk_live_.

      One ofcxk_live_
    • lastFourstringRequired

      The token's last four characters, to tell tokens apart.

    • scopesarray of stringRequired

      What the token may do.

    • apiVersionstringRequired

      The API version used when a request sends no Clouduxe-Version header.

    • ipAllowlistarray of stringRequired

      Addresses or CIDR ranges the token may be used from. Empty means any address.

    • createdByobjectRequired

      Who made it.

      Show 2 child attributesHide 2 child attributes
      • personIdstring (uuid)Required

        The person's id.

      • namestring or nullRequired

        Their name, or null.

    • createdAtstring (date-time)Required

      When it was made.

    • expiresAtstring (date-time) or nullRequired

      When it expires, or null for never. A token holding any elevated scope (marked elevated at https://docs.clouduxe.com/api/authentication#scopes) always expires, at most 365 days after creation.

    • lastUsedAtstring (date-time) or nullRequired

      When it was last used (updated at most once a minute), or null.

    • lastUsedIpstring or nullRequired

      The address it was last used from, or null.

    • revokedAtstring (date-time) or nullRequired

      When it was revoked, or null.

    • revokedReasonstring or nullRequired

      Why: user, leaked (reported by secret scanning), member_removed, person_disabled, account_closed or expired.

      One ofuserleakedmember_removedperson_disabledaccount_closedexpired
    • livemodebooleanRequired

      True for objects of your live account.

  • hasMorebooleanRequired

    True when there are more objects after this page. A page can hold fewer than limit objects while hasMore is true: keep following nextCursor.

  • nextCursorstring or nullRequired

    Pass this as cursor to get the next page. Null when hasMore is false.

Every response

  • 200OKA page of tokens.
  • 400Bad requestThe request is not valid. Codes: cursor_invalid, version_invalid, parameter_invalid.
  • 401UnauthorizedAuthentication failed. Codes: token_missing, token_invalid, token_expired, token_revoked.
  • 403ForbiddenThe token is not allowed to do this. Codes: 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.