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

Retrieve an action's secret

GET/actions/{actionId}/secret

Use this after an action with secretAvailable true succeeds: a provision or reinstall that set a password, or a password reset with delivery api. Owner tokens only, and only the token that started the action (for a provision, the token that placed the order). You may read it up to 5 times until it expires (60 minutes after the action succeeded), so a retry after a lost answer works; every read is audited. Store it, then delete it with deleteActionSecret. A 410 is final. Needs services:destructive, or orders:write for a provision action.

Token
Bearer API token: cxk_live_ followed by 46 letters and digits
Scope
services:destructive or orders:write
Header
Authorization: Bearer $CLOUDUXE_API_KEY

How tokens and scopes work: Authentication and scopes.

  • actionIdstring (uuid)Required

    The action's id.

  • 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}$

200OK The secret.

  • objectstringRequired

    The object's type. Always "action_secret".

  • actionIdstring (uuid)Required

    The action's id.

  • kindstringRequired

    What the secret is: a server password.

    One ofserver_password
  • usernamestringRequired

    The account the password is for: root, or Administrator on Windows.

    One ofrootAdministrator
  • passwordstringRequired

    The password. Store it in your own secret store, then delete it here with deleteActionSecret.

  • readsLeftintegerRequired

    How many more reads are allowed after this one, 0 to 4.

    min 0, max 4
  • expiresAtstring (date-time)Required

    When the secret is deleted, read or not.

Every response

  • 200OKThe secret.
  • 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.
  • 404Not foundNot found. Codes: not_found.
  • 410GoneGone. Codes: secret_unavailable.
  • 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.