Skip to content

Retry a failed site install

POST /v1/sites/{siteId}/actions/retry-install

Installs again a site whose install failed (status: "failed", never live). The site goes back to queued and installs as soon as its server is running, usually in 1 to 2 minutes. A site that was live before can't be installed again this way.

Scopes

The token needs this scope. Without it, the request is refused with insufficient_scope (see Scopes).

sites:write
Manage sites. Domains, SSL, CDN, cache, firewall, malware protection, resources, backups, staging, Media Offload, SMTP and RabbitPress Cache. Choosing Rabbitflare Backup for a site's backups, and turning on Media Offload or a site's malware protection, also need Turn on paid features: they start monthly charges.

Headers

FieldType and description
Idempotency-Key

string 1 to 255 characters

A key of your own for this request, like a UUID: letters, digits and _ - : . Send the request again with the same key (after a timeout, say) and it's done only once. Keys are kept for 24 hours (see Idempotency).

Path parameters

FieldType and description
siteId Required

string

The site's id.

Example request

curl -X POST "https://api.rabbitflare.com/v1/sites/8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/actions/retry-install" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Response

202 Accepted Returns the Site object in data.

The Site object's fields 58 fields
FieldType and description
id

string

The site's id.

name

string

The site's name, as shown in the panel.

serverId

string

The id of the server the site is on.

server

object

The server the site is on, at a glance.

id

string

The server's id.

name

string

The server's name.

status

string

The server's status (see the Server object).

Known values: pending_paymentprovisioningactiveoffsuspendedfaileddeletingdeleted More can appear.

cloud

string

Where the server runs (see the Server object).

Known values: digitaloceanvultrhetznerlinodegcpedgecustom More can appear.

region

string

The server's location id.

ipv4

string or null

The server's public IPv4 address. Null until it has one.

ipv6

string or null

The server's public IPv6 address. Null when it has none.

status

string

queued: waiting for its server. installing: WordPress is being installed (see stage). active: live. failed: the install failed (see lastError). deleting: being deleted. deleted: deleted.

Known values: queuedinstallingactivefaileddeletingdeleted More can appear.

stage

string

How far the install has got: queued, wordpress (installing WordPress), ssl (issuing its certificate), then complete, or failed.

Known values: queuedwordpresssslcompletefailed More can appear.

pendingAction

string or null

A change in progress on the site: domain (updating its domains), ssl (issuing a certificate), delete or restore (restoring a backup). Another change waits until it's done (409 busy). Null when there's none.

Known values: domainssldeleterestore More can appear.

url

string

The site's address, on its primary domain (https once its certificate is active).

adminUrl

string

The address of the site's WordPress dashboard.

builtInDomain

string

The address every site gets, which keeps working whatever domains it has.

primaryDomain

string

The domain the site is served on; other domains redirect to it.

siteTitle

string

The site's title in WordPress, as set when it was created.

wordpress

object

The WordPress administrator made with the site. The password is read with GET /sites/{siteId}/wordpress-login.

adminUsername

string

The WordPress administrator's username.

adminEmail

string

The WordPress administrator's email address.

sslStatus

string

The site's SSL certificate: none, pending (being issued), active or failed.

Known values: nonependingactivefailed More can appear.

cdn

string

The included CDN for the site's static files: off, enabling, active or failed.

Known values: offenablingactivefailed More can appear.

firewall

object

The site's web application firewall.

mode

string

off, monitor (logs attacks, blocks nothing) or protect (blocks attacks).

Known values: offmonitorprotect More can appear.

status

string

Whether its settings are in place on the server: off, installing, applying, active or failed.

Known values: offinstallingapplyingactivefailed More can appear.

malwareProtection

object

The site's malware protection (Imunify360). GET /sites/{siteId}/malware-protection has the rest.

enabled

boolean

Whether malware protection (Imunify360's scanning and cleaning) is on for the site.

included

boolean

Whether the site is its server's included one, at no charge: the first with it on. Each other site with it on is billed.

customResources

boolean

Whether the site has resource settings of its own (limits, priority or PHP settings) rather than the server's defaults.

stagingOf

object or null

When this site is a staging copy: the live site it copies. Null otherwise.

id

string

The live site's id.

name

string

The live site's name.

staging

object or null

A live site's staging: its copy and the staging operation running now. Null when it never used staging.

id

string or null

The staging copy's id. Null when it has none now (only restore points, or an operation).

status

string or null

The staging copy's status (as a site's). Null when it has none.

Known values: queuedinstallingactivefaileddeletingdeleted More can appear.

busy

string or null

The staging operation running now: create, refresh, push or undo. Null when none is.

Known values: createrefreshpushundo More can appear.

attention

boolean

Whether the running staging operation is waiting for our team.

clone

object or null

When this site is a clone being made (or whose copy failed): the clone. Null once the copy is in, or when it never was a clone.

id

string

The clone's id.

status

string

queued, copying, finishing, done, failed or cancelled.

Known values: queuedcopyingfinishingdonefailedcancelled More can appear.

stage

string or null

What's happening now, in words. Null when not known.

progress

number or null

0 to 100 while copying. Null when not known.

sourceName

string

The name of the site being copied.

error

string or null

Why the copy failed. Null otherwise.

clonedFrom

object or null

The site this one was cloned from, and when. Null when it wasn't cloned.

id

string or null

The original site's id. Null once that site is deleted.

name

string

The original site's name.

clonedAt

string An ISO 8601 time, in UTC

When the clone was made.

beingCloned

object or null

A clone of this site being made right now: the new site. Null otherwise.

id

string

The new site's id.

name

string

The new site's name.

iconUrl

string or null

The site's own icon (WordPress's Site Icon), looked up once a day. Null when it has none.

lastError

string or null

Why the install or the last change failed. Null when nothing failed.

readyAt

string or null An ISO 8601 time, in UTC

When the site finished installing. Null until then.

createdAt

string An ISO 8601 time, in UTC

When the site was created.

updatedAt

string An ISO 8601 time, in UTC

When the site last changed.

Example response

202 Accepted
{
  "data": {
    "id": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "name": "Shop",
    "serverId": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
    "server": {
      "id": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
      "name": "Production",
      "status": "active",
      "cloud": "digitalocean",
      "region": "fra1",
      "ipv4": "203.0.113.10",
      "ipv6": "2001:db8::10"
    },
    "status": "queued",
    "stage": "queued",
    "pendingAction": null,
    "url": "http://shop-x7k2p.rabbitflare.link",
    "adminUrl": "http://shop-x7k2p.rabbitflare.link/wp-admin/",
    "builtInDomain": "shop-x7k2p.rabbitflare.link",
    "primaryDomain": "shop-x7k2p.rabbitflare.link",
    "siteTitle": "Example Shop",
    "wordpress": {
      "adminUsername": "editor",
      "adminEmail": "[email protected]"
    },
    "sslStatus": "none",
    "cdn": "off",
    "firewall": {
      "mode": "protect",
      "status": "installing"
    },
    "malwareProtection": {
      "enabled": true,
      "included": true
    },
    "customResources": false,
    "stagingOf": null,
    "staging": null,
    "clone": null,
    "clonedFrom": null,
    "beingCloned": null,
    "iconUrl": null,
    "lastError": null,
    "readyAt": null,
    "createdAt": "2026-11-18T09:10:02.000Z",
    "updatedAt": "2026-11-18T10:15:02.000Z"
  }
}

Errors

The errors this request can answer besides those every request can (a missing token, a missing scope, the rate limits). Each answer is an Error object (see Errors).

Status and codeWhen, and what to do
404 not_found

The resource doesn't exist, or isn't this account's.

Check the id. Ids of other accounts' resources answer the same way.

409 invalid_state

The resource's status doesn't allow this now (for example, powering on a server that is running). message says why.

Check the resource's status, then do what message says.

409 staging_copy

This site is a staging copy, which can't do this.

Do it on the live site. A staging copy is managed through its live site's staging operations.

409 clone_busy

A clone of this site, or of a site on this server, is being made.

Wait until the clone finishes (or cancel it), then try again.

409 server_restoring

The server is being restored, and nothing else can change it or its sites until that's done.

Wait until the restore finishes (the server's pendingAction is null again), then try again. A restore that stopped partway keeps pendingAction: "restore", with the server's lastError set, until our team has checked the server.

Rate limit

Write requests: 30 a minute per token, 60 per account. More in Rate limits.

Added on .

Popular

API docs