API referenceSections

Try every waiting or failed step again now

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/account-kit/retry

Try every waiting or failed step again now

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Responses

200 The kit

Content type: application/json

  • tenant_id string required
  • plan_id string required
  • server_id string required
  • domain string required
  • owner_email string required
  • lang string required
    Allowed values: "vi" "en"
  • settings KitSettings required

    What a plan sets up when an account is made (ADR 0059). A plan without settings sends only the welcome email.

    • site boolean required

      A website for the primary domain with www and a placeholder page; HTTPS once DNS points here

    • runtime string required

      The site's default runtime; must be in the plan

      Allowed values: "static" "php" "aspnet"
    • ftp boolean required

      One FTP/SFTP account on the site root; needs site

    • dns boolean required

      A zone from the template on the server's DNS

    • mail boolean required

      Mail for the domain with DKIM, SPF and DMARC

    • mailbox string required

      admin@domain, or admin@ (+postmaster, webmaster, abuse) forwarded to the owner's email

      Allowed values: "none" "admin" "forward"
    • welcome boolean required

      Email the owner the set-password link and connection details

    • welcome_billing boolean optional

      Also send the welcome email for accounts made through the provisioning API (default false: billing systems send their own)

  • steps array<KitStep> required
    • id string required
      Allowed values: "owner" "site" "runtime" "placeholder" "ftp" "dns" "verify" "www" "https" "mail" "mailbox" "welcome"
    • state string required
      Allowed values: "pending" "waiting" "done" "failed" "skipped"
    • code string required

      What a waiting step waits for, or why a step failed or was skipped

    • ref string optional
    • detail string optional
    • attempts integer required
    • updated_at string (date-time) required
    • since string (date-time) | null optional
  • state string required
    Allowed values: "running" "done" "stopped"
  • created_at string (date-time) required
  • updated_at string (date-time) required
  • next_at string (date-time) required
  • summary KitSummary required
    • state string required
      Allowed values: "running" "done" "stopped"
    • done integer required
    • total integer required
    • waiting integer required
    • failed integer required
  • secrets array<string> required

    Passwords made by the kit that can still be shown once

    Allowed values: "ftp" "mailbox"
Example
{
  "tenant_id": "string",
  "plan_id": "string",
  "server_id": "string",
  "domain": "string",
  "owner_email": "string",
  "lang": "vi",
  "settings": {
    "site": true,
    "runtime": "static",
    "ftp": true,
    "dns": true,
    "mail": true,
    "mailbox": "none",
    "welcome": true,
    "welcome_billing": true
  },
  "steps": [
    {
      "id": "owner",
      "state": "pending",
      "code": "string",
      "ref": "string",
      "detail": "string",
      "attempts": 0,
      "updated_at": "2026-01-01T00:00:00Z",
      "since": "2026-01-01T00:00:00Z"
    }
  ],
  "state": "running",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z",
  "next_at": "2026-01-01T00:00:00Z",
  "summary": {
    "state": "running",
    "done": 0,
    "total": 0,
    "waiting": 0,
    "failed": 0
  },
  "secrets": [
    "ftp"
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required