{
  "info": {
    "name": "Rabbitflare API",
    "description": "Every operation of the Rabbitflare API (v1, 2026-11-18), with an example of each request and answer.\n\nPut your API token in the `token` variable (an environment's value is best: it stays out of the collection). Make tokens in the panel.\n\nRequests that need an Idempotency-Key send it from their own variable (idempotencyKey_…). A script makes a key when the variable is empty and keeps it while you send the same request again (after a timeout, a rate limit or an error on our side), so nothing is bought or done twice; an answer that settles the request empties it. To start a new purchase after an error on our side, check the resource first, then empty the variable.\n\nGuides and reference: https://rabbitflare.com/docs/api",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.rabbitflare.com/v1",
      "type": "string"
    },
    {
      "key": "token",
      "value": "",
      "type": "string",
      "description": "Your API token (rfp_…). Keep it secret."
    },
    {
      "key": "idempotencyKey_serversCreate",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Create a server\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_serversResize",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Resize a server\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesMalwareProtectionEnable",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Turn on a site's malware protection\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesBackupUpdateSettings",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Choose where and how often a site is backed up\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesStagingPush",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Push the staging copy to the live site\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesStagingUndoPush",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Undo a push to the live site\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesCloneStart",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Clone a site\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesCloneRetry",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Try a failed clone again\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesMediaOffloadEnable",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Turn on Media Offload for a site\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesMediaOffloadRunsStart",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Start a Media Offload operation on a site\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesSmtpAddressesAdd",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Add a notice or reply address to a site's SMTP\": made by its script when empty, kept while you send the same request again."
    },
    {
      "key": "idempotencyKey_sitesSmtpAddressesSendConfirmation",
      "value": "",
      "type": "string",
      "description": "The Idempotency-Key of \"Send an address's confirmation email again\": made by its script when empty, kept while you send the same request again."
    }
  ],
  "item": [
    {
      "name": "Account",
      "description": "The account the token belongs to: its features and limits.",
      "item": [
        {
          "name": "Get the account",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/account",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "account"
              ]
            },
            "description": "Returns the account the token belongs to: its name and email address, the clouds you can create servers on, the products open to it, and its limits.\n\n`features` says which products are open to the account. An operation of a product that isn't open answers `403 feature_unavailable`, but for the few that only read or take away what the account already has there, which say so in their descriptions: Media Offload on a site (reading it, turning it off, cancelling a setup that failed, stopping an operation, a restore) and Rabbitflare SMTP (turning it off, removing an address). Products open to more accounts over time, so read it again rather than keeping it for long."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/account",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "account"
                  ]
                },
                "description": "Returns the account the token belongs to: its name and email address, the clouds you can create servers on, the products open to it, and its limits.\n\n`features` says which products are open to the account. An operation of a product that isn't open answers `403 feature_unavailable`, but for the few that only read or take away what the account already has there, which say so in their descriptions: Media Offload on a site (reading it, turning it off, cancelling a setup that failed, stopping an operation, a restore) and Rabbitflare SMTP (turning it off, removing an address). Products open to more accounts over time, so read it again rather than keeping it for long."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n    \"name\": \"Jane Doe\",\n    \"email\": \"you@example.com\",\n    \"emailVerified\": true,\n    \"twoFactorEnabled\": true,\n    \"createdAt\": \"2026-03-02T09:15:27.000Z\",\n    \"clouds\": [\n      \"digitalocean\",\n      \"vultr\",\n      \"hetzner\",\n      \"linode\",\n      \"custom\"\n    ],\n    \"features\": {\n      \"backups\": true,\n      \"wallet\": true,\n      \"cloudflare\": true,\n      \"firewall\": true,\n      \"protection\": true,\n      \"security\": true,\n      \"staging\": true,\n      \"cloning\": true,\n      \"logCleanup\": true,\n      \"siteResources\": true,\n      \"rabbitpress\": true,\n      \"mediaOffload\": true,\n      \"smtp\": true,\n      \"mail\": false,\n      \"domainRegistration\": true,\n      \"domainTransfers\": true\n    },\n    \"limits\": {\n      \"maxServers\": 10\n    }\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Catalogue",
      "description": "Clouds, locations and plans you can create servers with, and what's in stock.",
      "item": [
        {
          "name": "List clouds",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/clouds",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "clouds"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the clouds you can create servers on, and `custom` for servers you already have at any provider, which you connect with one command.\n\nUse a cloud's `id` to list its regions and plans, to check what's in stock, and as `cloud` when you create a server. A cloud that isn't open to your account isn't listed. `GET /v1/account` gives the same ids in the order the panel shows them."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/clouds",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "clouds"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the clouds you can create servers on, and `custom` for servers you already have at any provider, which you connect with one command.\n\nUse a cloud's `id` to list its regions and plans, to check what's in stock, and as `cloud` when you create a server. A cloud that isn't open to your account isn't listed. `GET /v1/account` gives the same ids in the order the panel shows them."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"digitalocean\",\n      \"name\": \"DigitalOcean\",\n      \"storage\": \"SSD\",\n      \"metered\": false,\n      \"ownServer\": false\n    },\n    {\n      \"id\": \"vultr\",\n      \"name\": \"Vultr\",\n      \"storage\": \"NVMe SSD\",\n      \"metered\": false,\n      \"ownServer\": false\n    },\n    {\n      \"id\": \"custom\",\n      \"name\": \"Your own server\",\n      \"storage\": \"disk\",\n      \"metered\": false,\n      \"ownServer\": true\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "List a cloud's regions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/clouds/:cloud/regions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "clouds",
                ":cloud",
                "regions"
              ],
              "variable": [
                {
                  "key": "cloud",
                  "value": "digitalocean",
                  "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the regions (data centers) of a cloud where servers can be created. Pass a region's `id` as `region` when you create a server.\n\nYour own servers (`custom`) have no regions here: the list is empty. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/clouds/:cloud/regions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "clouds",
                    ":cloud",
                    "regions"
                  ],
                  "variable": [
                    {
                      "key": "cloud",
                      "value": "digitalocean",
                      "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the regions (data centers) of a cloud where servers can be created. Pass a region's `id` as `region` when you create a server.\n\nYour own servers (`custom`) have no regions here: the list is empty. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"ams3\",\n      \"name\": \"Amsterdam 3\",\n      \"city\": \"Amsterdam\",\n      \"country\": \"Netherlands\",\n      \"countryCode\": \"NL\",\n      \"continent\": \"Europe\",\n      \"cloud\": \"digitalocean\"\n    },\n    {\n      \"id\": \"fra1\",\n      \"name\": \"Frankfurt 1\",\n      \"city\": \"Frankfurt\",\n      \"country\": \"Germany\",\n      \"countryCode\": \"DE\",\n      \"continent\": \"Europe\",\n      \"cloud\": \"digitalocean\"\n    },\n    {\n      \"id\": \"lon1\",\n      \"name\": \"London 1\",\n      \"city\": \"London\",\n      \"country\": \"United Kingdom\",\n      \"countryCode\": \"GB\",\n      \"continent\": \"Europe\",\n      \"cloud\": \"digitalocean\"\n    },\n    {\n      \"id\": \"nyc3\",\n      \"name\": \"New York 3\",\n      \"city\": \"New York\",\n      \"country\": \"United States\",\n      \"countryCode\": \"US\",\n      \"continent\": \"North America\",\n      \"cloud\": \"digitalocean\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "List a cloud's plans",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/clouds/:cloud/plans?region=fra1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "clouds",
                ":cloud",
                "plans"
              ],
              "variable": [
                {
                  "key": "cloud",
                  "value": "digitalocean",
                  "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "region",
                  "value": "fra1",
                  "description": "Only the plans offered in this region: a region's `id` from `GET /v1/clouds/{cloud}/regions`."
                }
              ]
            },
            "description": "Lists the plans (server sizes) you can choose on a cloud, with their price a month in US cents. Disk and data transfer are this cloud's.\n\nSome plans are offered in some regions only (`regions`). Pass `region` to list only the plans offered there; a region the cloud doesn't have gives an empty list. A plan that's sold out for now is still listed: `GET /v1/clouds/{cloud}/availability` says what's in stock.\n\nPlans the cloud no longer sells aren't listed (servers already on one keep it). For `custom`, the one plan listed is the Own servers plan: one price a month for all the servers you connect. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/clouds/:cloud/plans?region=fra1",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "clouds",
                    ":cloud",
                    "plans"
                  ],
                  "variable": [
                    {
                      "key": "cloud",
                      "value": "digitalocean",
                      "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "region",
                      "value": "fra1",
                      "description": "Only the plans offered in this region: a region's `id` from `GET /v1/clouds/{cloud}/regions`."
                    }
                  ]
                },
                "description": "Lists the plans (server sizes) you can choose on a cloud, with their price a month in US cents. Disk and data transfer are this cloud's.\n\nSome plans are offered in some regions only (`regions`). Pass `region` to list only the plans offered there; a region the cloud doesn't have gives an empty list. A plan that's sold out for now is still listed: `GET /v1/clouds/{cloud}/availability` says what's in stock.\n\nPlans the cloud no longer sells aren't listed (servers already on one keep it). For `custom`, the one plan listed is the Own servers plan: one price a month for all the servers you connect. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"starter\",\n      \"name\": \"Starter\",\n      \"description\": \"Personal sites, portfolios and small blogs.\",\n      \"cloud\": \"digitalocean\",\n      \"line\": \"Basic\",\n      \"option\": \"Regular\",\n      \"architecture\": \"x86_64\",\n      \"vcpus\": 1,\n      \"memoryGb\": 1,\n      \"diskGb\": 25,\n      \"transferTb\": 1,\n      \"priceMonthlyCents\": 1200,\n      \"currency\": \"usd\",\n      \"regions\": null,\n      \"popular\": false\n    },\n    {\n      \"id\": \"standard\",\n      \"name\": \"Standard\",\n      \"description\": \"Business sites and content-heavy blogs.\",\n      \"cloud\": \"digitalocean\",\n      \"line\": \"Basic\",\n      \"option\": \"Regular\",\n      \"architecture\": \"x86_64\",\n      \"vcpus\": 1,\n      \"memoryGb\": 2,\n      \"diskGb\": 50,\n      \"transferTb\": 2,\n      \"priceMonthlyCents\": 2600,\n      \"currency\": \"usd\",\n      \"regions\": null,\n      \"popular\": true\n    },\n    {\n      \"id\": \"business\",\n      \"name\": \"Business\",\n      \"description\": \"WooCommerce stores and membership sites.\",\n      \"cloud\": \"digitalocean\",\n      \"line\": \"Basic\",\n      \"option\": \"Regular\",\n      \"architecture\": \"x86_64\",\n      \"vcpus\": 2,\n      \"memoryGb\": 4,\n      \"diskGb\": 80,\n      \"transferTb\": 4,\n      \"priceMonthlyCents\": 5200,\n      \"currency\": \"usd\",\n      \"regions\": null,\n      \"popular\": false\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get what's in stock on a cloud",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/clouds/:cloud/availability",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "clouds",
                ":cloud",
                "availability"
              ],
              "variable": [
                {
                  "key": "cloud",
                  "value": "digitalocean",
                  "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                }
              ]
            },
            "description": "Says which plans can be created in each region of a cloud right now, so you can choose a region and plan that won't be refused as sold out.\n\n`regions` maps each region's id to the ids of the plans in stock there. It is `null` when the cloud doesn't report its stock: then any plan it lists can be ordered, and the order is still checked when it's placed. The answer can be a few minutes old. Only plans open to your account are listed.\n\nThis asks the cloud, so it counts as a heavy request. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/clouds/:cloud/availability",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "clouds",
                    ":cloud",
                    "availability"
                  ],
                  "variable": [
                    {
                      "key": "cloud",
                      "value": "digitalocean",
                      "description": "A cloud's id, as `GET /v1/clouds` lists them: `digitalocean`, `vultr`, `hetzner`, `linode`, `gcp`, `edge` (Amazon EC2) or `custom` (your own servers)."
                    }
                  ]
                },
                "description": "Says which plans can be created in each region of a cloud right now, so you can choose a region and plan that won't be refused as sold out.\n\n`regions` maps each region's id to the ids of the plans in stock there. It is `null` when the cloud doesn't report its stock: then any plan it lists can be ordered, and the order is still checked when it's placed. The answer can be a few minutes old. Only plans open to your account are listed.\n\nThis asks the cloud, so it counts as a heavy request. A cloud that isn't open to your account, or that doesn't exist, answers `404 not_found`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"cloud\": \"digitalocean\",\n    \"regions\": {\n      \"fra1\": [\n        \"starter\",\n        \"standard\",\n        \"business\"\n      ],\n      \"nyc3\": [\n        \"standard\",\n        \"business\"\n      ],\n      \"lon1\": []\n    }\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Servers",
      "description": "Servers: create, power, resize, snapshots and restores, graphs, logs and more.",
      "item": [
        {
          "name": "List servers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers?status=active",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "active",
                  "description": "Only servers with this status."
                },
                {
                  "key": "cloud",
                  "value": "",
                  "description": "Only servers on this cloud (`custom`: servers of your own).",
                  "disabled": true
                },
                {
                  "key": "region",
                  "value": "",
                  "description": "Only servers in this location, like fra1.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the account's servers, newest first. Destroyed servers aren't listed.\n\nA token limited to some servers sees only those. Filter by `status`, `cloud` or `region`; sort by `createdAt` or `name`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers?status=active",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "active",
                      "description": "Only servers with this status."
                    },
                    {
                      "key": "cloud",
                      "value": "",
                      "description": "Only servers on this cloud (`custom`: servers of your own).",
                      "disabled": true
                    },
                    {
                      "key": "region",
                      "value": "",
                      "description": "Only servers in this location, like fra1.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the account's servers, newest first. Destroyed servers aren't listed.\n\nA token limited to some servers sees only those. Filter by `status`, `cloud` or `region`; sort by `createdAt` or `name`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"name\": \"Production\",\n      \"status\": \"active\",\n      \"stage\": \"complete\",\n      \"pendingAction\": null,\n      \"cloud\": \"digitalocean\",\n      \"region\": \"fra1\",\n      \"planId\": \"business\",\n      \"priceMonthlyCents\": 5200,\n      \"currency\": \"usd\",\n      \"ipv4\": \"203.0.113.10\",\n      \"ipv6\": \"2001:db8::10\",\n      \"phpVersion\": \"8.3\",\n      \"backupsEnabled\": true,\n      \"automaticBackupsBy\": null,\n      \"billing\": {\n        \"method\": \"card\",\n        \"status\": \"active\",\n        \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n      },\n      \"pendingPlanId\": null,\n      \"scheduledDeletionAt\": null,\n      \"trial\": false,\n      \"specs\": null,\n      \"siteCount\": 2,\n      \"dataTransfer\": null,\n      \"phpSecurity\": {\n        \"state\": \"current\",\n        \"reason\": null,\n        \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n        \"packages\": 14,\n        \"fixes\": [],\n        \"restart\": [],\n        \"auto\": true,\n        \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n        \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n        \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n        \"error\": null\n      },\n      \"security\": {\n        \"status\": \"on\",\n        \"available\": true\n      },\n      \"lastError\": null,\n      \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n      \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n      \"updatedAt\": \"2026-11-18T09:02:31.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Create a server",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_serversCreate\")) pm.collectionVariables.set(\"idempotencyKey_serversCreate\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_serversCreate\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_serversCreate}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers"
              ]
            },
            "description": "Orders a new server on the cloud, in the location and on the plan you choose, and sets it up for WordPress. To connect a server you already have, send `cloud: \"custom\"` with its public IPv4 address.\n\n**What happens next.** The answer is the server with `status: \"provisioning\"`; it then moves through the stages in `stage` (`creating`, `booting`, `packages`, `database`, `security`, `verifying`). It's usually ready in about 5 minutes: poll `GET /servers/{serverId}` every 10 seconds until `status` is `active`. If setup fails, `status` is `failed` with the reason in `lastError`; start it again with `POST /servers/{serverId}/actions/retry-provisioning`. Rarely the bank takes a moment to decide the card payment: the answer is then the server with `status: \"pending_payment\"`. It moves on to `provisioning` by itself once the bank accepts, or ends `deleted`, with nothing charged, if it refuses.\n\n**A first site.** Send `site` to have WordPress installed as soon as the server is ready (1 to 2 minutes more). The site is listed at once, as `queued`.\n\n**Imunify360 comes with the server.** While the account's `features.security` is on, a server Rabbitflare creates with Intel or AMD processors and 2 GB of memory or more (not your own servers, Amazon EC2 or Arm sizes) gets Imunify360 turned on by itself once it's ready (`server.ready`): `security.status` goes to `installing`, then `on` (`server.security_enabled`, a few minutes) or `failed` (`server.security_failed`). Its firewall, web application firewall and bot protection guard every site on the server, and its malware scanning and cleaning is included for the server's oldest site; each other site can have it too, for $2.99 a month (`sites.malwareProtection.enable`). It uses about 300 MB of the server's memory, and its web application firewall rules take the place of Rabbitflare's own for the server's sites. To run the server without it, wait until `security.status` is `installing` (turning it off while it's still `off` does nothing, and it would start anyway), then call `servers.security.disable`; a server where it was turned off isn't given it again. A server resized to 2 GB or more later doesn't get it by itself: use `servers.security.enable`.\n\n**A server of your own.** Nothing is ordered: the server waits until you run its connect command on it. Read the command with `GET /servers/{serverId}/connection`. Servers of your own are covered by the account's Own servers plan.\n\n**Payment.** The server is billed each month at its plan's price (`priceMonthlyCents`). The wallet is used first, then the card in `paymentMethodId`, or the account's default card. The account must have agreed to card charges once, in the panel's Billing. If the card is declined (`card_declined`) or the bank asks to confirm the payment (`payment_action_required`), nothing is created: no server, and no `server.created` or `site.created` event. `502 billing_error` means the card payment couldn't be made, was stopped before it ran, or couldn't be confirmed: send the same request again with the same key, which finds a payment that went through and never pays twice (what nobody sends again is given back). An `Idempotency-Key` header is required. A request sent again while its first try's payment is being checked answers `409 busy` (try again in a minute, with the same key: it's never paid twice); one whose server was bought and has been deleted since answers `409 conflict` (a new key buys another). A server of your own whose Own servers plan's first payment is still with the bank answers `409 busy` too, with nothing charged: try again in a few minutes.\n\n**Limits.** By default, 10 new servers an hour per account through the API (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)), and the account's own limit on servers. Some sizes and clouds open only after an account's first month.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Production\",\n  \"cloud\": \"digitalocean\",\n  \"region\": \"fra1\",\n  \"planId\": \"business\",\n  \"site\": {\n    \"name\": \"Shop\",\n    \"siteTitle\": \"Example Shop\",\n    \"adminUsername\": \"editor\",\n    \"adminEmail\": \"you@example.com\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_serversCreate}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers"
                  ]
                },
                "description": "Orders a new server on the cloud, in the location and on the plan you choose, and sets it up for WordPress. To connect a server you already have, send `cloud: \"custom\"` with its public IPv4 address.\n\n**What happens next.** The answer is the server with `status: \"provisioning\"`; it then moves through the stages in `stage` (`creating`, `booting`, `packages`, `database`, `security`, `verifying`). It's usually ready in about 5 minutes: poll `GET /servers/{serverId}` every 10 seconds until `status` is `active`. If setup fails, `status` is `failed` with the reason in `lastError`; start it again with `POST /servers/{serverId}/actions/retry-provisioning`. Rarely the bank takes a moment to decide the card payment: the answer is then the server with `status: \"pending_payment\"`. It moves on to `provisioning` by itself once the bank accepts, or ends `deleted`, with nothing charged, if it refuses.\n\n**A first site.** Send `site` to have WordPress installed as soon as the server is ready (1 to 2 minutes more). The site is listed at once, as `queued`.\n\n**Imunify360 comes with the server.** While the account's `features.security` is on, a server Rabbitflare creates with Intel or AMD processors and 2 GB of memory or more (not your own servers, Amazon EC2 or Arm sizes) gets Imunify360 turned on by itself once it's ready (`server.ready`): `security.status` goes to `installing`, then `on` (`server.security_enabled`, a few minutes) or `failed` (`server.security_failed`). Its firewall, web application firewall and bot protection guard every site on the server, and its malware scanning and cleaning is included for the server's oldest site; each other site can have it too, for $2.99 a month (`sites.malwareProtection.enable`). It uses about 300 MB of the server's memory, and its web application firewall rules take the place of Rabbitflare's own for the server's sites. To run the server without it, wait until `security.status` is `installing` (turning it off while it's still `off` does nothing, and it would start anyway), then call `servers.security.disable`; a server where it was turned off isn't given it again. A server resized to 2 GB or more later doesn't get it by itself: use `servers.security.enable`.\n\n**A server of your own.** Nothing is ordered: the server waits until you run its connect command on it. Read the command with `GET /servers/{serverId}/connection`. Servers of your own are covered by the account's Own servers plan.\n\n**Payment.** The server is billed each month at its plan's price (`priceMonthlyCents`). The wallet is used first, then the card in `paymentMethodId`, or the account's default card. The account must have agreed to card charges once, in the panel's Billing. If the card is declined (`card_declined`) or the bank asks to confirm the payment (`payment_action_required`), nothing is created: no server, and no `server.created` or `site.created` event. `502 billing_error` means the card payment couldn't be made, was stopped before it ran, or couldn't be confirmed: send the same request again with the same key, which finds a payment that went through and never pays twice (what nobody sends again is given back). An `Idempotency-Key` header is required. A request sent again while its first try's payment is being checked answers `409 busy` (try again in a minute, with the same key: it's never paid twice); one whose server was bought and has been deleted since answers `409 conflict` (a new key buys another). A server of your own whose Own servers plan's first payment is still with the bank answers `409 busy` too, with nothing charged: try again in a few minutes.\n\n**Limits.** By default, 10 new servers an hour per account through the API (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)), and the account's own limit on servers. Some sizes and clouds open only after an account's first month.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Production\",\n  \"cloud\": \"digitalocean\",\n  \"region\": \"fra1\",\n  \"planId\": \"business\",\n  \"site\": {\n    \"name\": \"Shop\",\n    \"siteTitle\": \"Example Shop\",\n    \"adminUsername\": \"editor\",\n    \"adminEmail\": \"you@example.com\"\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"provisioning\",\n    \"stage\": \"queued\",\n    \"pendingAction\": null,\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": null,\n    \"ipv6\": null,\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"cloud\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 1,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"unknown\",\n      \"reason\": \"unchecked\",\n      \"build\": null,\n      \"packages\": 0,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": false,\n      \"listsAt\": null,\n      \"securityAt\": null,\n      \"checkedAt\": null,\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T08:46:49.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a server",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Returns one server: its status, plan and price, addresses, billing and PHP security status. Poll it to follow a change in progress (`status`, `stage`, `pendingAction`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Returns one server: its status, plan and price, addresses, billing and PHP security status. Poll it to follow a change in progress (`status`, `stage`, `pendingAction`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": null,\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T09:02:31.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Destroy a server",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Destroys the server **and every site on it**, with their files and databases, and the server's snapshots. Rabbitflare's own copies of it (`takenBy: \"rabbitflare\"` in its list of snapshots and backups) are deleted for good about a week after the server is deleted. Its billing stops. This can't be undone.\n\nAnswers `202` with `status: \"deleting\"` while the server is removed (usually a minute or two; `GET /servers/{serverId}` then answers `404`), or `200` with `status: \"deleted\"` when the server was never paid for and is removed at once.\n\nA server of your own is disconnected instead: it keeps running at your provider with its sites, and Rabbitflare's access to it is removed.\n\nRefused while a site on the server is being copied (staging or cloning)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Destroys the server **and every site on it**, with their files and databases, and the server's snapshots. Rabbitflare's own copies of it (`takenBy: \"rabbitflare\"` in its list of snapshots and backups) are deleted for good about a week after the server is deleted. Its billing stops. This can't be undone.\n\nAnswers `202` with `status: \"deleting\"` while the server is removed (usually a minute or two; `GET /servers/{serverId}` then answers `404`), or `200` with `status: \"deleted\"` when the server was never paid for and is removed at once.\n\nA server of your own is disconnected instead: it keeps running at your provider with its sites, and Rabbitflare's access to it is removed.\n\nRefused while a site on the server is being copied (staging or cloning)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"deleting\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"destroy\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"canceled\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "List a server's sites",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/sites",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "sites"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "description": "Only sites with this status.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the WordPress sites on one server, newest first. Staging copies aren't listed: they belong to their live site."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/sites",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "sites"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "",
                      "description": "Only sites with this status.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the WordPress sites on one server, newest first. Staging copies aren't listed: they belong to their live site."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"server\": {\n        \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n        \"name\": \"Production\",\n        \"status\": \"active\",\n        \"cloud\": \"digitalocean\",\n        \"region\": \"fra1\",\n        \"ipv4\": \"203.0.113.10\",\n        \"ipv6\": \"2001:db8::10\"\n      },\n      \"status\": \"active\",\n      \"stage\": \"complete\",\n      \"pendingAction\": null,\n      \"url\": \"https://shop.example.com\",\n      \"adminUrl\": \"https://shop.example.com/wp-admin/\",\n      \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n      \"primaryDomain\": \"shop.example.com\",\n      \"siteTitle\": \"Example Shop\",\n      \"wordpress\": {\n        \"adminUsername\": \"editor\",\n        \"adminEmail\": \"you@example.com\"\n      },\n      \"sslStatus\": \"active\",\n      \"cdn\": \"off\",\n      \"firewall\": {\n        \"mode\": \"protect\",\n        \"status\": \"active\"\n      },\n      \"malwareProtection\": {\n        \"enabled\": true,\n        \"included\": true\n      },\n      \"customResources\": false,\n      \"stagingOf\": null,\n      \"staging\": null,\n      \"clone\": null,\n      \"clonedFrom\": null,\n      \"beingCloned\": null,\n      \"iconUrl\": null,\n      \"lastError\": null,\n      \"readyAt\": \"2026-11-18T09:12:40.000Z\",\n      \"createdAt\": \"2026-11-18T09:10:02.000Z\",\n      \"updatedAt\": \"2026-11-18T09:31:17.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Power on a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/power-on",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "power-on"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Starts a server that's powered off (`status: \"off\"`). Answers with `pendingAction: \"power_on\"`; the server is usually `active` again within a minute or two. Servers of your own are powered at your provider. A server switched off for an unpaid data transfer bill starts once the bill is paid."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/power-on",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "power-on"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Starts a server that's powered off (`status: \"off\"`). Answers with `pendingAction: \"power_on\"`; the server is usually `active` again within a minute or two. Servers of your own are powered at your provider. A server switched off for an unpaid data transfer bill starts once the bill is paid."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"off\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"power_on\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Power off a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/power-off",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "power-off"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Shuts a running server down. **Its sites are offline until it's powered on again.** A server that's off is still billed. Answers with `pendingAction: \"power_off\"`; `status` is `off` within a minute or two. Servers of your own are powered at your provider."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/power-off",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "power-off"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Shuts a running server down. **Its sites are offline until it's powered on again.** A server that's off is still billed. Answers with `pendingAction: \"power_off\"`; `status` is `off` within a minute or two. Servers of your own are powered at your provider."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"power_off\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Reboot a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/reboot",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "reboot"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Restarts a running server. Its sites are offline for the minute or two it takes. Answers with `pendingAction: \"reboot\"`, which clears once the server answers again. Works for servers of your own too."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/reboot",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "reboot"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Restarts a running server. Its sites are offline for the minute or two it takes. Answers with `pendingAction: \"reboot\"`, which clears once the server answers again. Works for servers of your own too."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"reboot\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Resize a server",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_serversResize\")) pm.collectionVariables.set(\"idempotencyKey_serversResize\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_serversResize\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_serversResize}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/resize",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "resize"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Moves the server to a larger plan on its cloud, in its own location. **Its sites are offline for a few minutes** while it's resized; `pendingAction` is `resize` until it's done, and `planId` and `priceMonthlyCents` change then.\n\n**Payment.** The difference for the rest of the month is paid at once, from the wallet first, then the card the server is paid with, and the new price applies from then on. The account must have agreed to card charges once, in the panel's Billing. A server paid through PayPal is resized in the panel (`paypal_billed`), where PayPal asks for approval. An `Idempotency-Key` header is required.\n\n**Limits.** Only larger plans: contact support to move to a smaller one. Servers of your own are resized at your provider; a free trial server is kept (paid for) first.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"planId\": \"performance\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_serversResize}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/resize",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "resize"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Moves the server to a larger plan on its cloud, in its own location. **Its sites are offline for a few minutes** while it's resized; `pendingAction` is `resize` until it's done, and `planId` and `priceMonthlyCents` change then.\n\n**Payment.** The difference for the rest of the month is paid at once, from the wallet first, then the card the server is paid with, and the new price applies from then on. The account must have agreed to card charges once, in the panel's Billing. A server paid through PayPal is resized in the panel (`paypal_billed`), where PayPal asks for approval. An `Idempotency-Key` header is required.\n\n**Limits.** Only larger plans: contact support to move to a smaller one. Servers of your own are resized at your provider; a free trial server is kept (paid for) first.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"planId\": \"performance\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"resize\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Retry a failed server setup",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/retry-provisioning",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "retry-provisioning"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Sets up again a server whose first setup failed (`status: \"failed\"`, never ready): what was half made is removed and setup starts over, as `provisioning`. Usually ready in about 5 minutes. A server that was already running can't be retried this way: contact support. For a server of your own, run its connect command again instead."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/retry-provisioning",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "retry-provisioning"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Sets up again a server whose first setup failed (`status: \"failed\"`, never ready): what was half made is removed and setup starts over, as `provisioning`. Usually ready in about 5 minutes. A server that was already running can't be retried this way: contact support. For a server of your own, run its connect command again instead."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"provisioning\",\n    \"stage\": \"queued\",\n    \"pendingAction\": null,\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": null,\n    \"ipv6\": null,\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"cloud\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 0,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"unknown\",\n      \"reason\": \"unchecked\",\n      \"build\": null,\n      \"packages\": 0,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": false,\n      \"listsAt\": null,\n      \"securityAt\": null,\n      \"checkedAt\": null,\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Restart PHP on a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/restart-php",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "restart-php"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Restarts PHP for every site on a running server, for example after a PHP security update (`phpSecurity.state` is `restart`). Waits for the server, which can take up to a minute and a half. If PHP couldn't be restarted for some sites, the answer is `409 php_not_fully_restarted` and its message names them."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/restart-php",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "restart-php"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Restarts PHP for every site on a running server, for example after a PHP security update (`phpSecurity.state` is `restart`). Waits for the server, which can take up to a minute and a half. If PHP couldn't be restarted for some sites, the answer is `409 php_not_fully_restarted` and its message names them."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"message\": \"PHP restarted\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Check PHP security updates now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/check-php-security",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "check-php-security"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Checks now whether the server has every PHP security fix installed and running, and answers the result (the server's `phpSecurity` shows it too). Servers are checked every few hours anyway; a check made moments ago isn't repeated. It only reads the server, which must be running."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/check-php-security",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "check-php-security"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Checks now whether the server has every PHP security fix installed and running, and answers the result (the server's `phpSecurity` shows it too). Servers are checked every few hours anyway; a check made moments ago isn't repeated. It only reads the server, which must be running."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"state\": \"current\",\n    \"reason\": null,\n    \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n    \"packages\": 14,\n    \"fixes\": [],\n    \"restart\": [],\n    \"auto\": true,\n    \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n    \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n    \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n    \"error\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a server's graphs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/metrics?range=1h",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "metrics"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ],
              "query": [
                {
                  "key": "range",
                  "value": "1h",
                  "description": "The time the graphs cover: `1h`, `6h` (the default), `24h` or `7d`."
                }
              ]
            },
            "description": "The server's graphs over a time range: processor, memory and disk use in percent, load, and bandwidth in and out. Each graph is a list of readings (`t` in Unix seconds). They're empty while the server isn't running; a new server's history fills in over its first minutes (`notice` says so)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/metrics?range=1h",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "metrics"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "range",
                      "value": "1h",
                      "description": "The time the graphs cover: `1h`, `6h` (the default), `24h` or `7d`."
                    }
                  ]
                },
                "description": "The server's graphs over a time range: processor, memory and disk use in percent, load, and bandwidth in and out. Each graph is a list of readings (`t` in Unix seconds). They're empty while the server isn't running; a new server's history fills in over its first minutes (`notice` says so)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"range\": \"1h\",\n    \"cpu\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 12.4\n      }\n    ],\n    \"memory\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 41.7\n      }\n    ],\n    \"disk\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 21.3\n      }\n    ],\n    \"load\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 0.18\n      }\n    ],\n    \"bandwidthIn\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 0.42\n      }\n    ],\n    \"bandwidthOut\": [\n      {\n        \"t\": 1763455200,\n        \"v\": 1.35\n      }\n    ],\n    \"notice\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "List a server's snapshots and backups",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/snapshots",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "snapshots"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "Only snapshots, or only automatic backups.",
                  "disabled": true
                },
                {
                  "key": "takenBy",
                  "value": "",
                  "description": "Only Rabbitflare's copies, or only the cloud's. Rabbitflare's are listed even when the cloud doesn't answer.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the copies of the whole server it can be restored from, newest first: snapshots (`kind: \"snapshot\"`) and automatic backups (`kind: \"backup\"`). Only finished ones are listed. Amazon EC2 and Google Cloud servers and servers of your own have none: their sites are backed up one by one.\n\n`takenBy` says whose each one is. A server's automatic backups are its cloud's (`cloud`), or Rabbitflare's own weekly backups once it has moved to them (`rabbitflare`, see the server's `automaticBackupsBy`); while it moves, both are listed. Its snapshots are its cloud's, except on a Linode server on Rabbitflare's backups, whose snapshots are Rabbitflare's.\n\nWhen the server's cloud doesn't answer, its own copies can't be listed, so the list is refused with `503 cloud_unavailable` rather than answered without them (the newest copy may be one of them): try again in a minute. Rabbitflare's copies can still be listed then, with `takenBy=rabbitflare`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/snapshots",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "snapshots"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "Only snapshots, or only automatic backups.",
                      "disabled": true
                    },
                    {
                      "key": "takenBy",
                      "value": "",
                      "description": "Only Rabbitflare's copies, or only the cloud's. Rabbitflare's are listed even when the cloud doesn't answer.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the copies of the whole server it can be restored from, newest first: snapshots (`kind: \"snapshot\"`) and automatic backups (`kind: \"backup\"`). Only finished ones are listed. Amazon EC2 and Google Cloud servers and servers of your own have none: their sites are backed up one by one.\n\n`takenBy` says whose each one is. A server's automatic backups are its cloud's (`cloud`), or Rabbitflare's own weekly backups once it has moved to them (`rabbitflare`, see the server's `automaticBackupsBy`); while it moves, both are listed. Its snapshots are its cloud's, except on a Linode server on Rabbitflare's backups, whose snapshots are Rabbitflare's.\n\nWhen the server's cloud doesn't answer, its own copies can't be listed, so the list is refused with `503 cloud_unavailable` rather than answered without them (the newest copy may be one of them): try again in a minute. Rabbitflare's copies can still be listed then, with `takenBy=rabbitflare`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"171824639\",\n      \"name\": \"Before the theme update\",\n      \"kind\": \"snapshot\",\n      \"takenBy\": \"cloud\",\n      \"sizeGb\": 6.31,\n      \"createdAt\": \"2026-11-17T22:14:05.000Z\"\n    },\n    {\n      \"id\": \"5b0e7c1d-2f4a-4e8b-9a6c-3d1f2e4a5b6c\",\n      \"name\": \"Weekly backup 2026-11-16\",\n      \"kind\": \"backup\",\n      \"takenBy\": \"rabbitflare\",\n      \"sizeGb\": 4.82,\n      \"createdAt\": \"2026-11-16T01:10:11.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Take a snapshot",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/snapshots",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "snapshots"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Takes a snapshot of the whole server, to restore it from later. It takes a few minutes: `pendingAction` is `snapshot` until it's done, and the snapshot is then in the server's list. A server keeps up to 5 snapshots. Not available on Amazon EC2 and Google Cloud servers or servers of your own: back their sites up instead.\n\n**Linode.** Linode keeps one snapshot of a server (a new one replaces it) until the server is on Rabbitflare's backups (`automaticBackupsBy: \"rabbitflare\"`). Its snapshots are then Rabbitflare's (`takenBy: \"rabbitflare\"`): up to 5, each one deletable, and taken only while the server is running (`409 invalid_state` when it's off), while none of its backups is being taken (`409 busy`) and once its backups are set up (`409 not_ready` for a few minutes after it moves, or while our team checks them). While its backups are moving to Rabbitflare's, no snapshot can be taken (`409 busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Before the theme update\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/snapshots",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "snapshots"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Takes a snapshot of the whole server, to restore it from later. It takes a few minutes: `pendingAction` is `snapshot` until it's done, and the snapshot is then in the server's list. A server keeps up to 5 snapshots. Not available on Amazon EC2 and Google Cloud servers or servers of your own: back their sites up instead.\n\n**Linode.** Linode keeps one snapshot of a server (a new one replaces it) until the server is on Rabbitflare's backups (`automaticBackupsBy: \"rabbitflare\"`). Its snapshots are then Rabbitflare's (`takenBy: \"rabbitflare\"`): up to 5, each one deletable, and taken only while the server is running (`409 invalid_state` when it's off), while none of its backups is being taken (`409 busy`) and once its backups are set up (`409 not_ready` for a few minutes after it moves, or while our team checks them). While its backups are moving to Rabbitflare's, no snapshot can be taken (`409 busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Before the theme update\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"snapshot\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a snapshot",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/snapshots/:snapshotId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "snapshots",
                ":snapshotId"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                },
                {
                  "key": "snapshotId",
                  "value": "171824639",
                  "description": "The snapshot's `id`, from the server's list of snapshots: a number on some clouds, a UUID on others."
                }
              ]
            },
            "description": "Deletes a snapshot. This can't be undone. Automatic backups can't be deleted, the cloud's or Rabbitflare's (they're replaced as new ones are taken), nor the one snapshot Linode keeps of a server (a new one replaces it). A Linode server on Rabbitflare's backups has Rabbitflare's snapshots instead (`takenBy: \"rabbitflare\"`), and each of those can be deleted."
          },
          "response": []
        },
        {
          "name": "Restore a server from a snapshot",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/actions/restore",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "actions",
                "restore"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Puts the whole server back as it was when a snapshot or automatic backup was taken. **Everything on the server since then is lost**, every site included, and the sites are offline while it's restored (usually a few minutes; `pendingAction` is `restore` until it's done). This can't be undone: take a snapshot first if you may want today's state back.\n\n**Rabbitflare's copies** (`takenBy: \"rabbitflare\"`) are copied back onto the server, which takes longer for a server with a lot of data. A server that's off is switched on for it, and stays on. When the copy can't be put back in place, the server's system is reinstalled first (its IP addresses stay), which takes longer still; on DigitalOcean our team restores it instead. Such a restore is refused while a site backup or restore runs on the server (`409 busy`), while the server's backups aren't set up (`409 not_ready`: try again in a few minutes), and for a copy that's incomplete (`409 not_restorable`).\n\n**While a server's automatic backups move to Rabbitflare's**, its cloud's backups and snapshots can't be restored (`409 busy`) for a few minutes, or for a few hours when the move has to be tried again; `pendingAction` stays null meanwhile. Rabbitflare's copies can be restored then.\n\n**If it fails**, `lastError` says so (it's null while the restore runs) and `pendingAction` is null again. A restore of one of Rabbitflare's copies that stopped partway is the exception: it keeps `pendingAction: \"restore\"` until our team has checked the server, so stop waiting once `lastError` is set.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"imageId\": \"171824639\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/actions/restore",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "actions",
                    "restore"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Puts the whole server back as it was when a snapshot or automatic backup was taken. **Everything on the server since then is lost**, every site included, and the sites are offline while it's restored (usually a few minutes; `pendingAction` is `restore` until it's done). This can't be undone: take a snapshot first if you may want today's state back.\n\n**Rabbitflare's copies** (`takenBy: \"rabbitflare\"`) are copied back onto the server, which takes longer for a server with a lot of data. A server that's off is switched on for it, and stays on. When the copy can't be put back in place, the server's system is reinstalled first (its IP addresses stay), which takes longer still; on DigitalOcean our team restores it instead. Such a restore is refused while a site backup or restore runs on the server (`409 busy`), while the server's backups aren't set up (`409 not_ready`: try again in a few minutes), and for a copy that's incomplete (`409 not_restorable`).\n\n**While a server's automatic backups move to Rabbitflare's**, its cloud's backups and snapshots can't be restored (`409 busy`) for a few minutes, or for a few hours when the move has to be tried again; `pendingAction` stays null meanwhile. Rabbitflare's copies can be restored then.\n\n**If it fails**, `lastError` says so (it's null while the restore runs) and `pendingAction` is null again. A restore of one of Rabbitflare's copies that stopped partway is the exception: it keeps `pendingAction: \"restore\"` until our team has checked the server, so stop waiting once `lastError` is set.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"imageId\": \"171824639\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"Production\",\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"restore\",\n    \"cloud\": \"digitalocean\",\n    \"region\": \"fra1\",\n    \"planId\": \"business\",\n    \"priceMonthlyCents\": 5200,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.10\",\n    \"ipv6\": \"2001:db8::10\",\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": true,\n    \"automaticBackupsBy\": \"rabbitflare\",\n    \"billing\": {\n      \"method\": \"card\",\n      \"status\": \"active\",\n      \"currentPeriodEnd\": \"2026-12-18T08:46:49.000Z\"\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 2,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"current\",\n      \"reason\": null,\n      \"build\": \"8.3.6-0ubuntu0.24.04.13\",\n      \"packages\": 14,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": true,\n      \"listsAt\": \"2026-11-18T06:12:04.000Z\",\n      \"securityAt\": \"2026-11-17T21:30:00.000Z\",\n      \"checkedAt\": \"2026-11-18T07:00:31.000Z\",\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T08:51:12.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a server's logs and clean-up settings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/logs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "logs"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "How much room the server's logs take (the system's own logs by group, and each site's) and how they're cleaned up. The sizes are read from the server while it's running, which can take a few seconds; otherwise `usage` is null and `usageError` says why."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/logs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "logs"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "How much room the server's logs take (the system's own logs by group, and each site's) and how they're cleaned up. The sizes are read from the server while it's running, which can take a few seconds; otherwise `usage` is null and `usageError` says why."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"autoClean\": true,\n      \"keepDays\": 7,\n      \"maxSizeMb\": 100,\n      \"freeSpace\": true,\n      \"state\": \"applied\",\n      \"error\": null\n    },\n    \"usage\": {\n      \"disk\": {\n        \"totalBytes\": 85899345920,\n        \"usedBytes\": 18253611008,\n        \"freeBytes\": 67645734912,\n        \"usedPercent\": 21.3\n      },\n      \"logsBytes\": 412090368,\n      \"groups\": [\n        {\n          \"id\": \"web\",\n          \"title\": \"Web server\",\n          \"bytes\": 201326592,\n          \"currentBytes\": 12582912,\n          \"oldBytes\": 188743680,\n          \"journalBytes\": null\n        }\n      ],\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"stagingCopy\": false,\n          \"bytes\": 52428800,\n          \"phpBytes\": 1048576,\n          \"debugBytes\": 50331648,\n          \"oldBytes\": 1048576\n        }\n      ],\n      \"lastAutoClean\": {\n        \"ranAt\": \"2026-11-18T08:00:03.000Z\",\n        \"freedBytes\": 10485760\n      },\n      \"autoCleanOn\": true\n    },\n    \"usageError\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a server's log clean-up",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/logs/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "logs",
                "settings"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Sets how the server cleans up its logs: automatically every hour or not, how long old copies are kept, how large a log may grow, and whether to free up space when the disk is nearly full. The settings are put in place on the server in the background (`state: \"applying\"`, then `applied`). The server must be running. Turning automatic clean-up off always works.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"autoClean\": true,\n  \"keepDays\": 7,\n  \"maxSizeMb\": 100,\n  \"freeSpace\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/logs/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "logs",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Sets how the server cleans up its logs: automatically every hour or not, how long old copies are kept, how large a log may grow, and whether to free up space when the disk is nearly full. The settings are put in place on the server in the background (`state: \"applying\"`, then `applied`). The server must be running. Turning automatic clean-up off always works.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"autoClean\": true,\n  \"keepDays\": 7,\n  \"maxSizeMb\": 100,\n  \"freeSpace\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"autoClean\": true,\n    \"keepDays\": 7,\n    \"maxSizeMb\": 100,\n    \"freeSpace\": true,\n    \"state\": \"applying\",\n    \"error\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Clear a server's logs",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/logs/actions/clear",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "logs",
                "actions",
                "clear"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Empties logs on the server right away and deletes their old copies: one site's logs (or only its PHP error log or WordPress debug log), every site's, a group of the system's logs, or all of them. What's cleared can't be read again. Answers how much space was freed. The server must be running.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"target\": \"site\",\n  \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n  \"kind\": \"debug\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/logs/actions/clear",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "logs",
                    "actions",
                    "clear"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Empties logs on the server right away and deletes their old copies: one site's logs (or only its PHP error log or WordPress debug log), every site's, a group of the system's logs, or all of them. What's cleared can't be read again. Answers how much space was freed. The server must be running.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"target\": \"site\",\n  \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n  \"kind\": \"debug\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"freedBytes\": 50331648\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the connect command of your own server",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/connection",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "connection"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Servers of your own only: the one line to run on the server as root to connect it to Rabbitflare, and the ports its firewall must allow. The command carries a one-time key: keep it private, and make a new one with `POST /servers/{serverId}/connection/actions/renew` if it was shared by mistake. `command` is null once the server is connected. A server Rabbitflare created has no connection command (409 `invalid_state`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/connection",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "connection"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Servers of your own only: the one line to run on the server as root to connect it to Rabbitflare, and the ports its firewall must allow. The command carries a one-time key: keep it private, and make a new one with `POST /servers/{serverId}/connection/actions/renew` if it was shared by mistake. `command` is null once the server is connected. A server Rabbitflare created has no connection command (409 `invalid_state`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"command\": \"curl -fsSL https://app.rabbitflare.com/api/connect/3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d/EXAMPLE-ONE-TIME-KEY | sudo bash\",\n    \"ports\": [\n      {\n        \"port\": 80,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"Web traffic (HTTP), and SSL certificate checks\"\n      },\n      {\n        \"port\": 443,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"Web traffic (HTTPS)\"\n      },\n      {\n        \"port\": 22022,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"SSH for the Rabbitflare control panel\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Make a new connect command",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/connection/actions/renew",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "connection",
                "actions",
                "renew"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Servers of your own that aren't connected yet: makes a new connect command. The old one stops working at once. Refused while the server is running the command, and for servers Rabbitflare created (409 `invalid_state`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/connection/actions/renew",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "connection",
                    "actions",
                    "renew"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Servers of your own that aren't connected yet: makes a new connect command. The old one stops working at once. Refused while the server is running the command, and for servers Rabbitflare created (409 `invalid_state`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"command\": \"curl -fsSL https://app.rabbitflare.com/api/connect/3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d/EXAMPLE-NEW-ONE-TIME-KEY | sudo bash\",\n    \"ports\": [\n      {\n        \"port\": 80,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"Web traffic (HTTP), and SSL certificate checks\"\n      },\n      {\n        \"port\": 443,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"Web traffic (HTTPS)\"\n      },\n      {\n        \"port\": 22022,\n        \"protocol\": \"TCP\",\n        \"purpose\": \"SSH for the Rabbitflare control panel\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Check the connection to your own server again",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/connection/actions/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "connection",
                "actions",
                "check"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Servers of your own: after the connect command finished on the server but Rabbitflare couldn't reach it (`stage: \"verifying\"`, usually a firewall in the way), tries again. Open the ports from `GET /servers/{serverId}/connection` first. Answers at once; the server becomes `active` once it's reached. Servers Rabbitflare created answer 409 `invalid_state`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/connection/actions/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "connection",
                    "actions",
                    "check"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Servers of your own: after the connect command finished on the server but Rabbitflare couldn't reach it (`stage: \"verifying\"`, usually a firewall in the way), tries again. Open the ports from `GET /servers/{serverId}/connection` first. Answers at once; the server becomes `active` once it's reached. Servers Rabbitflare created answer 409 `invalid_state`."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"name\": \"My own server\",\n    \"status\": \"provisioning\",\n    \"stage\": \"verifying\",\n    \"pendingAction\": null,\n    \"cloud\": \"custom\",\n    \"region\": \"own\",\n    \"planId\": \"own\",\n    \"priceMonthlyCents\": 0,\n    \"currency\": \"usd\",\n    \"ipv4\": \"203.0.113.40\",\n    \"ipv6\": null,\n    \"phpVersion\": \"8.3\",\n    \"backupsEnabled\": false,\n    \"automaticBackupsBy\": null,\n    \"billing\": {\n      \"method\": null,\n      \"status\": null,\n      \"currentPeriodEnd\": null\n    },\n    \"pendingPlanId\": null,\n    \"scheduledDeletionAt\": null,\n    \"trial\": false,\n    \"specs\": null,\n    \"siteCount\": 0,\n    \"dataTransfer\": null,\n    \"phpSecurity\": {\n      \"state\": \"unknown\",\n      \"reason\": \"unchecked\",\n      \"build\": null,\n      \"packages\": 0,\n      \"fixes\": [],\n      \"restart\": [],\n      \"auto\": false,\n      \"listsAt\": null,\n      \"securityAt\": null,\n      \"checkedAt\": null,\n      \"error\": null\n    },\n    \"security\": {\n      \"status\": \"on\",\n      \"available\": true\n    },\n    \"lastError\": null,\n    \"readyAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a server's Media Offload storage",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/media-offload",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "media-offload"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Media Offload on a server: the storage included with it for its sites' media libraries, how much each site uses, and this month's extra storage so far. Storage beyond what's included is billed after the month ends. Servers of your own have no storage included (`allowance` is null)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/media-offload",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "media-offload"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Media Offload on a server: the storage included with it for its sites' media libraries, how much each site uses, and this month's extra storage so far. Storage beyond what's included is billed after the month ends. Servers of your own have no storage included (`allowance` is null)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    }\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Sites",
      "description": "WordPress sites on your servers: create, sign in, tools, and delete.",
      "item": [
        {
          "name": "List sites",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites?status=active",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "serverId",
                  "value": "",
                  "description": "Only sites on this server.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "active",
                  "description": "Only sites with this status."
                }
              ]
            },
            "description": "Lists the account's WordPress sites, newest first. Deleted sites and staging copies aren't listed (a staging copy belongs to its live site).\n\nA token limited to some servers sees only the sites on those. Filter by `serverId` or `status`; sort by `createdAt` or `name`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites?status=active",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "serverId",
                      "value": "",
                      "description": "Only sites on this server.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "active",
                      "description": "Only sites with this status."
                    }
                  ]
                },
                "description": "Lists the account's WordPress sites, newest first. Deleted sites and staging copies aren't listed (a staging copy belongs to its live site).\n\nA token limited to some servers sees only the sites on those. Filter by `serverId` or `status`; sort by `createdAt` or `name`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"server\": {\n        \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n        \"name\": \"Production\",\n        \"status\": \"active\",\n        \"cloud\": \"digitalocean\",\n        \"region\": \"fra1\",\n        \"ipv4\": \"203.0.113.10\",\n        \"ipv6\": \"2001:db8::10\"\n      },\n      \"status\": \"active\",\n      \"stage\": \"complete\",\n      \"pendingAction\": null,\n      \"url\": \"https://shop.example.com\",\n      \"adminUrl\": \"https://shop.example.com/wp-admin/\",\n      \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n      \"primaryDomain\": \"shop.example.com\",\n      \"siteTitle\": \"Example Shop\",\n      \"wordpress\": {\n        \"adminUsername\": \"editor\",\n        \"adminEmail\": \"you@example.com\"\n      },\n      \"sslStatus\": \"active\",\n      \"cdn\": \"off\",\n      \"firewall\": {\n        \"mode\": \"protect\",\n        \"status\": \"active\"\n      },\n      \"malwareProtection\": {\n        \"enabled\": true,\n        \"included\": true\n      },\n      \"customResources\": false,\n      \"stagingOf\": null,\n      \"staging\": null,\n      \"clone\": null,\n      \"clonedFrom\": null,\n      \"beingCloned\": null,\n      \"iconUrl\": null,\n      \"lastError\": null,\n      \"readyAt\": \"2026-11-18T09:12:40.000Z\",\n      \"createdAt\": \"2026-11-18T09:10:02.000Z\",\n      \"updatedAt\": \"2026-11-18T09:31:17.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Create a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites"
              ]
            },
            "description": "Installs a new WordPress site on one of your servers, with the administrator you name. It's reached on its built-in address (`builtInDomain`); connect your own domain with `POST /sites/{siteId}/domains`.\n\n**What happens next.** The answer is the site with `status: \"queued\"`. On a running server the install starts at once and usually takes 1 to 2 minutes (`installing`, with `stage` `wordpress`, then `ssl`); on a server that's still being set up it starts as soon as the server is ready. Poll `GET /sites/{siteId}` every 10 seconds until `status` is `active`. If the install fails, `status` is `failed` with the reason in `lastError`; try again with `POST /sites/{siteId}/actions/retry-install`.\n\nThe administrator's password is made for you: read it with `GET /sites/{siteId}/wordpress-login`. Where the firewall is available, new sites start with it protecting them.\n\n**Limits.** By default, 60 new sites an hour per account through the API (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)). Sites can't be added while their server is off, failed or being destroyed.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n  \"name\": \"Shop\",\n  \"siteTitle\": \"Example Shop\",\n  \"adminUsername\": \"editor\",\n  \"adminEmail\": \"you@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites"
                  ]
                },
                "description": "Installs a new WordPress site on one of your servers, with the administrator you name. It's reached on its built-in address (`builtInDomain`); connect your own domain with `POST /sites/{siteId}/domains`.\n\n**What happens next.** The answer is the site with `status: \"queued\"`. On a running server the install starts at once and usually takes 1 to 2 minutes (`installing`, with `stage` `wordpress`, then `ssl`); on a server that's still being set up it starts as soon as the server is ready. Poll `GET /sites/{siteId}` every 10 seconds until `status` is `active`. If the install fails, `status` is `failed` with the reason in `lastError`; try again with `POST /sites/{siteId}/actions/retry-install`.\n\nThe administrator's password is made for you: read it with `GET /sites/{siteId}/wordpress-login`. Where the firewall is available, new sites start with it protecting them.\n\n**Limits.** By default, 60 new sites an hour per account through the API (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)). Sites can't be added while their server is off, failed or being destroyed.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n  \"name\": \"Shop\",\n  \"siteTitle\": \"Example Shop\",\n  \"adminUsername\": \"editor\",\n  \"adminEmail\": \"you@example.com\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Shop\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"server\": {\n      \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"name\": \"Production\",\n      \"status\": \"active\",\n      \"cloud\": \"digitalocean\",\n      \"region\": \"fra1\",\n      \"ipv4\": \"203.0.113.10\",\n      \"ipv6\": \"2001:db8::10\"\n    },\n    \"status\": \"queued\",\n    \"stage\": \"queued\",\n    \"pendingAction\": null,\n    \"url\": \"http://shop-x7k2p.rabbitflare.link\",\n    \"adminUrl\": \"http://shop-x7k2p.rabbitflare.link/wp-admin/\",\n    \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"primaryDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"siteTitle\": \"Example Shop\",\n    \"wordpress\": {\n      \"adminUsername\": \"editor\",\n      \"adminEmail\": \"you@example.com\"\n    },\n    \"sslStatus\": \"none\",\n    \"cdn\": \"off\",\n    \"firewall\": {\n      \"mode\": \"protect\",\n      \"status\": \"installing\"\n    },\n    \"malwareProtection\": {\n      \"enabled\": true,\n      \"included\": true\n    },\n    \"customResources\": false,\n    \"stagingOf\": null,\n    \"staging\": null,\n    \"clone\": null,\n    \"clonedFrom\": null,\n    \"beingCloned\": null,\n    \"iconUrl\": null,\n    \"lastError\": null,\n    \"readyAt\": null,\n    \"createdAt\": \"2026-11-18T10:15:02.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns one site: its status, addresses, its server at a glance, its WordPress administrator, certificate, CDN, firewall and staging. Poll it to follow a change in progress (`status`, `stage`, `pendingAction`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns one site: its status, addresses, its server at a glance, its WordPress administrator, certificate, CDN, firewall and staging. Poll it to follow a change in progress (`status`, `stage`, `pendingAction`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Shop\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"server\": {\n      \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"name\": \"Production\",\n      \"status\": \"active\",\n      \"cloud\": \"digitalocean\",\n      \"region\": \"fra1\",\n      \"ipv4\": \"203.0.113.10\",\n      \"ipv6\": \"2001:db8::10\"\n    },\n    \"status\": \"active\",\n    \"stage\": \"complete\",\n    \"pendingAction\": null,\n    \"url\": \"https://shop.example.com\",\n    \"adminUrl\": \"https://shop.example.com/wp-admin/\",\n    \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"primaryDomain\": \"shop.example.com\",\n    \"siteTitle\": \"Example Shop\",\n    \"wordpress\": {\n      \"adminUsername\": \"editor\",\n      \"adminEmail\": \"you@example.com\"\n    },\n    \"sslStatus\": \"active\",\n    \"cdn\": \"off\",\n    \"firewall\": {\n      \"mode\": \"protect\",\n      \"status\": \"active\"\n    },\n    \"malwareProtection\": {\n      \"enabled\": true,\n      \"included\": true\n    },\n    \"customResources\": false,\n    \"stagingOf\": null,\n    \"staging\": null,\n    \"clone\": null,\n    \"clonedFrom\": null,\n    \"beingCloned\": null,\n    \"iconUrl\": null,\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T09:12:40.000Z\",\n    \"createdAt\": \"2026-11-18T09:10:02.000Z\",\n    \"updatedAt\": \"2026-11-18T09:31:17.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a site",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Deletes the site with its files and database, its domains, and its staging copy. This can't be undone.\n\nAnswers `202` with `status: \"deleting\"` while it's removed from its server (usually under a minute; `GET /sites/{siteId}` then answers `404`), or `200` with `status: \"deleted\"` when it was never installed and is removed at once.\n\nThe server must be running. Refused while the site is installing or busy with another change, a staging operation or a clone. A staging copy is deleted with its live site's staging (`staging_copy`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Deletes the site with its files and database, its domains, and its staging copy. This can't be undone.\n\nAnswers `202` with `status: \"deleting\"` while it's removed from its server (usually under a minute; `GET /sites/{siteId}` then answers `404`), or `200` with `status: \"deleted\"` when it was never installed and is removed at once.\n\nThe server must be running. Refused while the site is installing or busy with another change, a staging operation or a clone. A staging copy is deleted with its live site's staging (`staging_copy`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Shop\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"server\": {\n      \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"name\": \"Production\",\n      \"status\": \"active\",\n      \"cloud\": \"digitalocean\",\n      \"region\": \"fra1\",\n      \"ipv4\": \"203.0.113.10\",\n      \"ipv6\": \"2001:db8::10\"\n    },\n    \"status\": \"deleting\",\n    \"stage\": \"complete\",\n    \"pendingAction\": \"delete\",\n    \"url\": \"https://shop.example.com\",\n    \"adminUrl\": \"https://shop.example.com/wp-admin/\",\n    \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"primaryDomain\": \"shop.example.com\",\n    \"siteTitle\": \"Example Shop\",\n    \"wordpress\": {\n      \"adminUsername\": \"editor\",\n      \"adminEmail\": \"you@example.com\"\n    },\n    \"sslStatus\": \"active\",\n    \"cdn\": \"off\",\n    \"firewall\": {\n      \"mode\": \"protect\",\n      \"status\": \"active\"\n    },\n    \"malwareProtection\": {\n      \"enabled\": true,\n      \"included\": true\n    },\n    \"customResources\": false,\n    \"stagingOf\": null,\n    \"staging\": null,\n    \"clone\": null,\n    \"clonedFrom\": null,\n    \"beingCloned\": null,\n    \"iconUrl\": null,\n    \"lastError\": null,\n    \"readyAt\": \"2026-11-18T09:12:40.000Z\",\n    \"createdAt\": \"2026-11-18T09:10:02.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Retry a failed site install",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/actions/retry-install",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "actions",
                "retry-install"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "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."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/actions/retry-install",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "actions",
                    "retry-install"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "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."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Shop\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"server\": {\n      \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"name\": \"Production\",\n      \"status\": \"active\",\n      \"cloud\": \"digitalocean\",\n      \"region\": \"fra1\",\n      \"ipv4\": \"203.0.113.10\",\n      \"ipv6\": \"2001:db8::10\"\n    },\n    \"status\": \"queued\",\n    \"stage\": \"queued\",\n    \"pendingAction\": null,\n    \"url\": \"http://shop-x7k2p.rabbitflare.link\",\n    \"adminUrl\": \"http://shop-x7k2p.rabbitflare.link/wp-admin/\",\n    \"builtInDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"primaryDomain\": \"shop-x7k2p.rabbitflare.link\",\n    \"siteTitle\": \"Example Shop\",\n    \"wordpress\": {\n      \"adminUsername\": \"editor\",\n      \"adminEmail\": \"you@example.com\"\n    },\n    \"sslStatus\": \"none\",\n    \"cdn\": \"off\",\n    \"firewall\": {\n      \"mode\": \"protect\",\n      \"status\": \"installing\"\n    },\n    \"malwareProtection\": {\n      \"enabled\": true,\n      \"included\": true\n    },\n    \"customResources\": false,\n    \"stagingOf\": null,\n    \"staging\": null,\n    \"clone\": null,\n    \"clonedFrom\": null,\n    \"beingCloned\": null,\n    \"iconUrl\": null,\n    \"lastError\": null,\n    \"readyAt\": null,\n    \"createdAt\": \"2026-11-18T09:10:02.000Z\",\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the site's WordPress login",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/wordpress-login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "wordpress-login"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "The username, email address and password of the WordPress administrator made with the site. Keep the password safe. If it was changed inside WordPress, this one no longer works: set a new one with `POST /sites/{siteId}/actions/reset-admin-password`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/wordpress-login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "wordpress-login"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "The username, email address and password of the WordPress administrator made with the site. Keep the password safe. If it was changed inside WordPress, this one no longer works: set a new one with `POST /sites/{siteId}/actions/reset-admin-password`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"username\": \"editor\",\n    \"email\": \"you@example.com\",\n    \"password\": \"kV9#wq2Lx7!pRz4m\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Purge a site's cache",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/actions/purge-cache",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "actions",
                "purge-cache"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Clears the site's page cache on its server, so visitors get fresh pages at once (the next visits are a little slower while it fills again). The site must be live and its server running. Waits for the server, which can take up to a minute and a half."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/actions/purge-cache",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "actions",
                    "purge-cache"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Clears the site's page cache on its server, so visitors get fresh pages at once (the next visits are a little slower while it fills again). The site must be live and its server running. Waits for the server, which can take up to a minute and a half."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"message\": \"Cache purged\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Reset the WordPress administrator's password",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/actions/reset-admin-password",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "actions",
                "reset-admin-password"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Sets a new random password for the WordPress administrator made with the site, and answers the login with it. The old password stops working at once. The site must be live and its server running."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/actions/reset-admin-password",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "actions",
                    "reset-admin-password"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Sets a new random password for the WordPress administrator made with the site, and answers the login with it. The old password stops working at once. The site must be live and its server running."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"username\": \"editor\",\n    \"email\": \"you@example.com\",\n    \"password\": \"b7Rk2mQx9TzLp4WnVh3s\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Ask for the site's SSL certificate again",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/actions/reissue-ssl",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "actions",
                "reissue-ssl"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Asks again for the SSL certificate of the site's domains, for example after a domain's DNS was fixed. It's queued at once (`sslStatus: \"pending\"`) and usually done within a few minutes: follow it on `GET /sites/{siteId}`. The site must be live and its server running."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/actions/reissue-ssl",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "actions",
                    "reissue-ssl"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Asks again for the SSL certificate of the site's domains, for example after a domain's DNS was fixed. It's queued at once (`sslStatus: \"pending\"`) and usually done within a few minutes: follow it on `GET /sites/{siteId}`. The site must be live and its server running."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"message\": \"Certificate request queued\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Site domains",
      "description": "Connect domains to sites, verify their DNS and choose the primary one.",
      "item": [
        {
          "name": "List a site's domains",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the domains connected to a site, oldest first (its built-in address comes first), each with its DNS and certificate status."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/domains",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "domains"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the domains connected to a site, oldest first (its built-in address comes first), each with its DNS and certificate status."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"b3c4d5e6-f7a8-4b9c-8d0e-1f2a3b4c5d6e\",\n      \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"hostname\": \"shop-x7k2p.rabbitflare.link\",\n      \"isPrimary\": true,\n      \"isBuiltIn\": true,\n      \"primaryOnVerify\": false,\n      \"status\": \"active\",\n      \"sslStatus\": \"active\",\n      \"dnsTarget\": \"203.0.113.10\",\n      \"lastError\": null,\n      \"verifiedAt\": \"2026-11-18T09:12:40.000Z\",\n      \"createdAt\": \"2026-11-18T09:10:02.000Z\"\n    },\n    {\n      \"id\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n      \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"hostname\": \"shop.example.com\",\n      \"isPrimary\": false,\n      \"isBuiltIn\": false,\n      \"primaryOnVerify\": false,\n      \"status\": \"active\",\n      \"sslStatus\": \"active\",\n      \"dnsTarget\": \"203.0.113.10\",\n      \"lastError\": null,\n      \"verifiedAt\": \"2026-11-18T09:20:44.000Z\",\n      \"createdAt\": \"2026-11-18T09:18:03.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Connect a domain to a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Connects a domain you own to the site. First point the domain's A record at the site's server: `dnsTarget` in the answer is its address.\n\n**What happens next.** Its DNS is checked at once. If it already points at the server, the answer has `status: \"provisioning\"`: the domain is set up on the server and its SSL certificate issued, usually within a few minutes. If not, it's `pending_dns` with the reason in `lastError`: point the DNS, then check again with `POST /sites/{siteId}/domains/{domainId}/actions/verify`.\n\nWith `makePrimary: true` the site moves to the domain as soon as its DNS is verified.\n\n**Limits.** Up to 10 domains per site, and a domain can be connected to one site only. A staging copy keeps its own address.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"hostname\": \"shop.example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/domains",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "domains"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Connects a domain you own to the site. First point the domain's A record at the site's server: `dnsTarget` in the answer is its address.\n\n**What happens next.** Its DNS is checked at once. If it already points at the server, the answer has `status: \"provisioning\"`: the domain is set up on the server and its SSL certificate issued, usually within a few minutes. If not, it's `pending_dns` with the reason in `lastError`: point the DNS, then check again with `POST /sites/{siteId}/domains/{domainId}/actions/verify`.\n\nWith `makePrimary: true` the site moves to the domain as soon as its DNS is verified.\n\n**Limits.** Up to 10 domains per site, and a domain can be connected to one site only. A staging copy keeps its own address.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"hostname\": \"shop.example.com\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"hostname\": \"shop.example.com\",\n    \"isPrimary\": false,\n    \"isBuiltIn\": false,\n    \"primaryOnVerify\": false,\n    \"status\": \"pending_dns\",\n    \"sslStatus\": \"none\",\n    \"dnsTarget\": \"203.0.113.10\",\n    \"lastError\": \"DNS check failed: no A record was found\",\n    \"verifiedAt\": null,\n    \"createdAt\": \"2026-11-18T09:18:03.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Check a domain's DNS now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/verify",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains",
                ":domainId",
                "actions",
                "verify"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "domainId",
                  "value": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f",
                  "description": "The domain's id, from the site's list of domains."
                }
              ]
            },
            "description": "Checks now that the domain points at the site's server. When it does, the answer is `202` with `status: \"provisioning\"`: the domain is set up on the server and its SSL certificate issued, usually within a few minutes. When it doesn't, the answer is `422 dns_mismatch` saying where it points (DNS changes can take a few minutes to be seen). The built-in address needs no check (`200`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/verify",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "domains",
                    ":domainId",
                    "actions",
                    "verify"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "domainId",
                      "value": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f",
                      "description": "The domain's id, from the site's list of domains."
                    }
                  ]
                },
                "description": "Checks now that the domain points at the site's server. When it does, the answer is `202` with `status: \"provisioning\"`: the domain is set up on the server and its SSL certificate issued, usually within a few minutes. When it doesn't, the answer is `422 dns_mismatch` saying where it points (DNS changes can take a few minutes to be seen). The built-in address needs no check (`200`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"hostname\": \"shop.example.com\",\n    \"isPrimary\": false,\n    \"isBuiltIn\": false,\n    \"primaryOnVerify\": false,\n    \"status\": \"provisioning\",\n    \"sslStatus\": \"pending\",\n    \"dnsTarget\": \"203.0.113.10\",\n    \"lastError\": null,\n    \"verifiedAt\": \"2026-11-18T09:20:44.000Z\",\n    \"createdAt\": \"2026-11-18T09:18:03.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Make a domain the site's primary domain",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/make-primary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains",
                ":domainId",
                "actions",
                "make-primary"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "domainId",
                  "value": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f",
                  "description": "The domain's id, from the site's list of domains."
                }
              ]
            },
            "description": "Serves the site on this domain; its other domains redirect to it. For a verified domain the change is put in place on the server at once (`202`; the site's `pendingAction` is `domain` for a moment). A domain still waiting for DNS becomes primary as soon as its DNS is verified (`200`, with `primaryOnVerify: true`). A staging copy keeps its own address."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/make-primary",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "domains",
                    ":domainId",
                    "actions",
                    "make-primary"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "domainId",
                      "value": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f",
                      "description": "The domain's id, from the site's list of domains."
                    }
                  ]
                },
                "description": "Serves the site on this domain; its other domains redirect to it. For a verified domain the change is put in place on the server at once (`202`; the site's `pendingAction` is `domain` for a moment). A domain still waiting for DNS becomes primary as soon as its DNS is verified (`200`, with `primaryOnVerify: true`). A staging copy keeps its own address."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"hostname\": \"shop.example.com\",\n    \"isPrimary\": true,\n    \"isBuiltIn\": false,\n    \"primaryOnVerify\": false,\n    \"status\": \"active\",\n    \"sslStatus\": \"active\",\n    \"dnsTarget\": \"203.0.113.10\",\n    \"lastError\": null,\n    \"verifiedAt\": \"2026-11-18T09:20:44.000Z\",\n    \"createdAt\": \"2026-11-18T09:18:03.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Don't make a domain primary once verified",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/cancel-make-primary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains",
                ":domainId",
                "actions",
                "cancel-make-primary"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "domainId",
                  "value": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",
                  "description": "The domain's id, from the site's list of domains."
                }
              ]
            },
            "description": "For a domain waiting for DNS: cancels its becoming the primary domain once verified (`primaryOnVerify` goes back to false). It stays connected to the site."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId/actions/cancel-make-primary",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "domains",
                    ":domainId",
                    "actions",
                    "cancel-make-primary"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "domainId",
                      "value": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",
                      "description": "The domain's id, from the site's list of domains."
                    }
                  ]
                },
                "description": "For a domain waiting for DNS: cancels its becoming the primary domain once verified (`primaryOnVerify` goes back to false). It stays connected to the site."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"hostname\": \"www.example.com\",\n    \"isPrimary\": false,\n    \"isBuiltIn\": false,\n    \"primaryOnVerify\": false,\n    \"status\": \"pending_dns\",\n    \"sslStatus\": \"none\",\n    \"dnsTarget\": \"203.0.113.10\",\n    \"lastError\": \"DNS check failed: no A record was found\",\n    \"verifiedAt\": null,\n    \"createdAt\": \"2026-11-18T10:15:02.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove a domain from a site",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/domains/:domainId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "domains",
                ":domainId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "domainId",
                  "value": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80",
                  "description": "The domain's id, from the site's list of domains."
                }
              ]
            },
            "description": "Disconnects a domain from the site: the site stops answering on it, and if it was the primary domain the site moves back to its built-in address. The built-in address can't be removed. To use the domain again, connect it again."
          },
          "response": []
        },
        {
          "name": "List the domains of every site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/site-domains?status=pending_dns",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "site-domains"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "siteId",
                  "value": "",
                  "description": "Only the domains of this site.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "pending_dns",
                  "description": "Only domains with this status."
                }
              ]
            },
            "description": "Lists every domain connected to the account's sites, built-in addresses included, newest first. A token limited to some servers sees only the domains of the sites on those. Filter by `siteId` or `status`; sort by `createdAt` or `hostname`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/site-domains?status=pending_dns",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "site-domains"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "siteId",
                      "value": "",
                      "description": "Only the domains of this site.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "pending_dns",
                      "description": "Only domains with this status."
                    }
                  ]
                },
                "description": "Lists every domain connected to the account's sites, built-in addresses included, newest first. A token limited to some servers sees only the domains of the sites on those. Filter by `siteId` or `status`; sort by `createdAt` or `hostname`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f80\",\n      \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"hostname\": \"www.example.com\",\n      \"isPrimary\": false,\n      \"isBuiltIn\": false,\n      \"primaryOnVerify\": true,\n      \"status\": \"pending_dns\",\n      \"sslStatus\": \"none\",\n      \"dnsTarget\": \"203.0.113.10\",\n      \"lastError\": \"DNS check failed: no A record was found\",\n      \"verifiedAt\": null,\n      \"createdAt\": \"2026-11-18T10:15:02.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "CDN",
      "description": "The included CDN for a site's static files.",
      "item": [
        {
          "name": "Get a site's CDN",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns the site's CDN: whether it's on (`status`, and `stage` while it's being set up), why it can't be switched on if it can't (`blockedReason`), its address, what it served over the last 7 days, what it serves, and its custom hostname. Poll it to follow a change in progress."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns the site's CDN: whether it's on (`status`, and `stage` while it's being set up), why it can't be switched on if it can't (`blockedReason`), its address, what it served over the last 7 days, what it serves, and its custom hostname. Poll it to follow a change in progress."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on a site's CDN",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Switches on the CDN included with the site's server: no DNS changes and no plugin to set up, and logins, carts and forms keep working as before.\n\n**What happens next.** The answer is `202` with `status: \"enabling\"`. Setting it up usually takes 3 to 10 minutes (`stage`: `creating`, `deploying`, `verifying`, then `installing`); poll `GET /sites/{siteId}/cdn` every 30 seconds until `status` is `active`, when the site's files are served from `domain`. If it fails, `status` is `failed` with the reason in `lastError`: calling this again carries on where it stopped. A CDN that's already on answers `200` as it is.\n\n**Limits.** Not for staging copies, sites still installing, sites on your own servers or trial servers, or while the server is off: `blockedReason` on the CDN says which (`409 cdn_blocked`). Switching it on and off is limited to 6 times an hour per site. Setting it up from the start (a site's first time, or after a setup that failed at its first step) is limited to 5 sites a day per account (`429 rate_limited`; a day ends at 00:00 UTC); switching it back on within 48 hours of switching it off isn't counted."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Switches on the CDN included with the site's server: no DNS changes and no plugin to set up, and logins, carts and forms keep working as before.\n\n**What happens next.** The answer is `202` with `status: \"enabling\"`. Setting it up usually takes 3 to 10 minutes (`stage`: `creating`, `deploying`, `verifying`, then `installing`); poll `GET /sites/{siteId}/cdn` every 30 seconds until `status` is `active`, when the site's files are served from `domain`. If it fails, `status` is `failed` with the reason in `lastError`: calling this again carries on where it stopped. A CDN that's already on answers `200` as it is.\n\n**Limits.** Not for staging copies, sites still installing, sites on your own servers or trial servers, or while the server is off: `blockedReason` on the CDN says which (`409 cdn_blocked`). Switching it on and off is limited to 6 times an hour per site. Setting it up from the start (a site's first time, or after a setup that failed at its first step) is limited to 5 sites a day per account (`429 rate_limited`; a day ends at 00:00 UTC); switching it back on within 48 hours of switching it off isn't counted."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"enabling\",\n    \"stage\": \"creating\",\n    \"blockedReason\": null,\n    \"domain\": null,\n    \"startedAt\": \"2026-11-18T09:36:02.000Z\",\n    \"enabledAt\": null,\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": null,\n    \"usage\": null,\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off a site's CDN",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Switches the site back to serving every file itself, straight away, and removes its custom hostname. Pages keep working throughout, and the CDN can be switched on again at any time. The server must be running when the CDN was on (the site's pages change on it). Switching it on and off is limited to 6 times an hour per site."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Switches the site back to serving every file itself, straight away, and removes its custom hostname. Pages keep working throughout, and the CDN can be switched on again at any time. The server must be running when the CDN was on (the site's pages change on it). Switching it on and off is limited to 6 times an hour per site."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"off\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": null,\n    \"startedAt\": null,\n    \"enabledAt\": null,\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": null,\n    \"usage\": null,\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Clear files from a site's CDN",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/purge",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "actions",
                "purge"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Clears files from the CDN, so visitors get their latest version. Usually there's nothing to clear: WordPress gives updated plugin and theme files new addresses, and files changed in the panel's File Manager are cleared for you. Clear after replacing a file but keeping its name.\n\nSend no body (or `{}`) to clear everything. Send `paths` to clear only those files and folders (one of the delivery options: `403 feature_unavailable` while they aren't open to the account).\n\n**What happens next.** The answer is `202` with `purging: true`; clearing takes a minute or two, then `purging` is false again and `purgedAt` is set. The CDN must be on (`409 cdn_off`). Up to 10 clears an hour per site.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"paths\": [\n    \"/wp-content/themes/shop/style.css\",\n    \"/wp-content/uploads/2026/11/*\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/actions/purge",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "actions",
                    "purge"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Clears files from the CDN, so visitors get their latest version. Usually there's nothing to clear: WordPress gives updated plugin and theme files new addresses, and files changed in the panel's File Manager are cleared for you. Clear after replacing a file but keeping its name.\n\nSend no body (or `{}`) to clear everything. Send `paths` to clear only those files and folders (one of the delivery options: `403 feature_unavailable` while they aren't open to the account).\n\n**What happens next.** The answer is `202` with `purging: true`; clearing takes a minute or two, then `purging` is false again and `purgedAt` is set. The CDN must be on (`409 cdn_off`). Up to 10 clears an hour per site.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"paths\": [\n    \"/wp-content/themes/shop/style.css\",\n    \"/wp-content/uploads/2026/11/*\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": true,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Choose what a site's CDN serves",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "settings"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Sets the kinds of files the CDN serves (`types`) and the paths it leaves on the server (`exclude`), for example for a plugin that only works from the site's own address. Both replace what was there.\n\nWhile the CDN is on, the site uses the new settings straight away (its server must be running); while it's off, they apply when it's switched on. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"types\": [\n    \"images\",\n    \"css\",\n    \"js\",\n    \"fonts\"\n  ],\n  \"exclude\": [\n    \"/wp-content/plugins/booking-calendar/\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Sets the kinds of files the CDN serves (`types`) and the paths it leaves on the server (`exclude`), for example for a plugin that only works from the site's own address. Both replace what was there.\n\nWhile the CDN is on, the site uses the new settings straight away (its server must be running); while it's off, they apply when it's switched on. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"types\": [\n    \"images\",\n    \"css\",\n    \"js\",\n    \"fonts\"\n  ],\n  \"exclude\": [\n    \"/wp-content/plugins/booking-calendar/\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\"\n      ],\n      \"exclude\": [\n        \"/wp-content/plugins/booking-calendar/\"\n      ]\n    },\n    \"customHostname\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a custom hostname to a site's CDN",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "hostname"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Serves the site's files from a hostname of your own, like cdn.example.com, instead of the CDN's own address. Use a name that isn't used for anything else yet. The CDN must be on (`409 cdn_off`), and a site has one hostname: remove it first to use another (`409 hostname_exists`). A failed one is replaced. Sending the hostname the site already has, while it's being set up or in use, changes nothing: the answer is `200` with the CDN as it is.\n\n**What happens next.** The answer is `202` with `customHostname.status: \"validating\"` and the DNS records to add, in `customHostname.records`: one proves the hostname is yours (for its SSL certificate; it appears a few seconds after this call), one sends its visitors to the CDN. When the hostname's domain is registered with Rabbitflare and uses Rabbitflare DNS (`customHostname.dnsZone`), add them in the panel, on the domain's DNS page. Once they're in place, setup usually takes a few minutes; poll `GET /sites/{siteId}/cdn` until `customHostname.status` is `active`.\n\n**Limits.** Up to 5 hostnames an hour per site, and 5 a day per account (`429 rate_limited`; a day ends at 00:00 UTC). Hostnames added through the API also share a daily limit for all accounts together: when it's reached, the answer is `429 rate_limited` with the seconds to wait until the day ends. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"hostname\": \"cdn.example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "hostname"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Serves the site's files from a hostname of your own, like cdn.example.com, instead of the CDN's own address. Use a name that isn't used for anything else yet. The CDN must be on (`409 cdn_off`), and a site has one hostname: remove it first to use another (`409 hostname_exists`). A failed one is replaced. Sending the hostname the site already has, while it's being set up or in use, changes nothing: the answer is `200` with the CDN as it is.\n\n**What happens next.** The answer is `202` with `customHostname.status: \"validating\"` and the DNS records to add, in `customHostname.records`: one proves the hostname is yours (for its SSL certificate; it appears a few seconds after this call), one sends its visitors to the CDN. When the hostname's domain is registered with Rabbitflare and uses Rabbitflare DNS (`customHostname.dnsZone`), add them in the panel, on the domain's DNS page. Once they're in place, setup usually takes a few minutes; poll `GET /sites/{siteId}/cdn` until `customHostname.status` is `active`.\n\n**Limits.** Up to 5 hostnames an hour per site, and 5 a day per account (`429 rate_limited`; a day ends at 00:00 UTC). Hostnames added through the API also share a daily limit for all accounts together: when it's reached, the answer is `429 rate_limited` with the seconds to wait until the day ends. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"hostname\": \"cdn.example.com\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": {\n      \"hostname\": \"cdn.example.com\",\n      \"status\": \"validating\",\n      \"records\": [\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"_3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c.cdn.example.com\",\n          \"value\": \"_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d.validation.example.net\",\n          \"purpose\": \"validation\"\n        },\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"cdn.example.com\",\n          \"value\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n          \"purpose\": \"routing\"\n        }\n      ],\n      \"dnsZone\": \"example.com\",\n      \"error\": null,\n      \"addedAt\": \"2026-11-18T10:15:02.000Z\"\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove a site's custom CDN hostname",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "hostname"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Switches the site back to the CDN's own address straight away (its server must be running while the hostname is in use); the hostname and its certificate are removed in the background (`customHostname.status: \"removing\"`, then null). Its DNS records can be deleted afterwards. With no hostname, the CDN comes back as it is. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "hostname"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Switches the site back to the CDN's own address straight away (its server must be running while the hostname is in use); the hostname and its certificate are removed in the background (`customHostname.status: \"removing\"`, then null). Its DNS records can be deleted afterwards. With no hostname, the CDN comes back as it is. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": {\n      \"hostname\": \"cdn.example.com\",\n      \"status\": \"removing\",\n      \"records\": [\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"_3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c.cdn.example.com\",\n          \"value\": \"_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d.validation.example.net\",\n          \"purpose\": \"validation\"\n        },\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"cdn.example.com\",\n          \"value\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n          \"purpose\": \"routing\"\n        }\n      ],\n      \"dnsZone\": \"example.com\",\n      \"error\": null,\n      \"addedAt\": \"2026-11-18T10:15:02.000Z\"\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Check a custom CDN hostname's DNS now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname/actions/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cdn",
                "hostname",
                "actions",
                "check"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Looks for the custom hostname's DNS records now, instead of at the setup's next scheduled check (for example straight after adding them). The setup then carries on by itself; follow it on `GET /sites/{siteId}/cdn`. A hostname whose setup failed can't be checked again (`409 hostname_failed`): remove it and add it again. With no hostname being set up, the CDN comes back as it is. Up to 30 checks an hour per site. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cdn/hostname/actions/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cdn",
                    "hostname",
                    "actions",
                    "check"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Looks for the custom hostname's DNS records now, instead of at the setup's next scheduled check (for example straight after adding them). The setup then carries on by itself; follow it on `GET /sites/{siteId}/cdn`. A hostname whose setup failed can't be checked again (`409 hostname_failed`): remove it and add it again. With no hostname being set up, the CDN comes back as it is. Up to 30 checks an hour per site. One of the delivery options: while they aren't open to the account (`deliveryOptions: false`), it answers `403 feature_unavailable`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"stage\": null,\n    \"blockedReason\": null,\n    \"domain\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n    \"startedAt\": null,\n    \"enabledAt\": \"2026-11-18T09:42:10.000Z\",\n    \"lastError\": null,\n    \"purging\": false,\n    \"purgedAt\": \"2026-11-18T11:05:33.000Z\",\n    \"usage\": {\n      \"days\": 7,\n      \"requests\": 184220,\n      \"bytes\": 9310442118\n    },\n    \"deliveryOptions\": true,\n    \"settings\": {\n      \"types\": [\n        \"images\",\n        \"css\",\n        \"js\",\n        \"fonts\",\n        \"media\",\n        \"documents\"\n      ],\n      \"exclude\": []\n    },\n    \"customHostname\": {\n      \"hostname\": \"cdn.example.com\",\n      \"status\": \"validating\",\n      \"records\": [\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"_3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c.cdn.example.com\",\n          \"value\": \"_9a8b7c6d5e4f3a2b1c0d9e8f7a6b5c4d.validation.example.net\",\n          \"purpose\": \"validation\"\n        },\n        {\n          \"type\": \"CNAME\",\n          \"name\": \"cdn.example.com\",\n          \"value\": \"d1a2b3c4e5f6g7.cdn.example.net\",\n          \"purpose\": \"routing\"\n        }\n      ],\n      \"dnsZone\": \"example.com\",\n      \"error\": null,\n      \"addedAt\": \"2026-11-18T10:15:02.000Z\"\n    }\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Firewall",
      "description": "A site's web application firewall.",
      "item": [
        {
          "name": "Get a site's firewall",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns the site's firewall: its mode, sensitivity and login protection, whether its settings are in place on the server (`status`), and its allowed and blocked addresses and exceptions (`rules`).\n\n**On a server with Imunify360 on** (the server's `security.status`), the web application firewall's rules are Imunify360's, in place of Rabbitflare's own for every site there. `mode` still decides whether the site's requests are checked and whether attacks are blocked; `sensitivity` has no effect until Imunify360 is off. Allowed and blocked addresses and login protection keep working, but an address the server's own lists block (`servers.security.addresses.list`) is blocked for every site, whatever this list allows. Exceptions still turn rules off for the site's pages, by the numbers `sites.firewall.events.list` shows (Imunify360's there); `servers.security.rules.disable` turns a rule off for whole sites. The events keep listing the site's blocked and flagged requests; `servers.security.incidents.get` has the server's wider view (its address lists, denial of service, bots, WordPress)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns the site's firewall: its mode, sensitivity and login protection, whether its settings are in place on the server (`status`), and its allowed and blocked addresses and exceptions (`rules`).\n\n**On a server with Imunify360 on** (the server's `security.status`), the web application firewall's rules are Imunify360's, in place of Rabbitflare's own for every site there. `mode` still decides whether the site's requests are checked and whether attacks are blocked; `sensitivity` has no effect until Imunify360 is off. Allowed and blocked addresses and login protection keep working, but an address the server's own lists block (`servers.security.addresses.list`) is blocked for every site, whatever this list allows. Exceptions still turn rules off for the site's pages, by the numbers `sites.firewall.events.list` shows (Imunify360's there); `servers.security.rules.disable` turns a rule off for whole sites. The events keep listing the site's blocked and flagged requests; `servers.security.incidents.get` has the server's wider view (its address lists, denial of service, bots, WordPress)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"active\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T09:31:17.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      },\n      {\n        \"id\": \"f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c\",\n        \"kind\": \"exception\",\n        \"address\": null,\n        \"ruleIds\": [\n          942270,\n          942360\n        ],\n        \"path\": \"/wp-admin/admin-ajax.php\",\n        \"note\": \"Page builder saves\",\n        \"createdAt\": \"2026-11-18T09:31:17.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a site's firewall settings",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Changes the firewall's mode (`protect`, `monitor` or `off`), its sensitivity (`standard` or `strict`) and login protection. Settings left out stay as they are. To try Protect safely, run the site in `monitor` for a day or two first: nothing is blocked, and the events show what Protect would have stopped.\n\n**What happens next.** The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\nThe site must be live and its server running.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mode\": \"protect\",\n  \"sensitivity\": \"standard\",\n  \"loginProtection\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Changes the firewall's mode (`protect`, `monitor` or `off`), its sensitivity (`standard` or `strict`) and login protection. Settings left out stay as they are. To try Protect safely, run the site in `monitor` for a day or two first: nothing is blocked, and the events show what Protect would have stopped.\n\n**What happens next.** The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\nThe site must be live and its server running.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"protect\",\n  \"sensitivity\": \"standard\",\n  \"loginProtection\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      },\n      {\n        \"id\": \"f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c\",\n        \"kind\": \"exception\",\n        \"address\": null,\n        \"ruleIds\": [\n          942270,\n          942360\n        ],\n        \"path\": \"/wp-admin/admin-ajax.php\",\n        \"note\": \"Page builder saves\",\n        \"createdAt\": \"2026-11-18T09:31:17.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Allow or block an IP address on a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall/addresses",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall",
                "addresses"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Adds an IP address or range to the site's blocked addresses (`kind: \"block\"`: refused on every page of the site, whatever the mode) or allowed addresses (`kind: \"allow\"`: its requests skip the firewall's checks; only for addresses you trust, like your office). A range is stored from its first address (203.0.113.7/24 is 203.0.113.0/24).\n\nThe answer is `201` with the firewall. `Location` is the new rule's path, `/v1/sites/{siteId}/firewall/rules/{ruleId}`: its id is the rule's `id` in `rules`, and `DELETE` there removes it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\n**Limits.** Up to 500 blocked and 100 allowed addresses per site. An address can be on the lists once (`409 conflict`), and the server's own addresses can't be blocked (`409 own_address`): WordPress needs to reach itself for its health checks and the theme editor.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"block\",\n  \"address\": \"198.51.100.0/24\",\n  \"note\": \"Login attempts from a scanner\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall/addresses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall",
                    "addresses"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Adds an IP address or range to the site's blocked addresses (`kind: \"block\"`: refused on every page of the site, whatever the mode) or allowed addresses (`kind: \"allow\"`: its requests skip the firewall's checks; only for addresses you trust, like your office). A range is stored from its first address (203.0.113.7/24 is 203.0.113.0/24).\n\nThe answer is `201` with the firewall. `Location` is the new rule's path, `/v1/sites/{siteId}/firewall/rules/{ruleId}`: its id is the rule's `id` in `rules`, and `DELETE` there removes it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\n**Limits.** Up to 500 blocked and 100 allowed addresses per site. An address can be on the lists once (`409 conflict`), and the server's own addresses can't be blocked (`409 own_address`): WordPress needs to reach itself for its health checks and the theme editor.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"block\",\n  \"address\": \"198.51.100.0/24\",\n  \"note\": \"Login attempts from a scanner\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      },\n      {\n        \"id\": \"f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c\",\n        \"kind\": \"exception\",\n        \"address\": null,\n        \"ruleIds\": [\n          942270,\n          942360\n        ],\n        \"path\": \"/wp-admin/admin-ajax.php\",\n        \"note\": \"Page builder saves\",\n        \"createdAt\": \"2026-11-18T09:31:17.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a firewall exception for a false alarm",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall/exceptions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall",
                "exceptions"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns off firewall rules that stopped something you or a plugin did on purpose (a false alarm), like saving a page in a page builder: name the rules by number, as the event's `matchedRules` lists them (`GET /sites/{siteId}/firewall/events`). With `path`, only on that page and the pages under it (the safest choice; the rest of the site stays fully protected); without, everywhere on the site.\n\nThe answer is `201` with the firewall. `Location` is the new rule's path, `/v1/sites/{siteId}/firewall/rules/{ruleId}`: its id is the rule's `id` in `rules`, and `DELETE` there removes it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\n**Limits.** Up to 30 exceptions per site; the same exception can't be added twice (`409 conflict`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ruleIds\": [\n    942270,\n    942360\n  ],\n  \"path\": \"/wp-admin/admin-ajax.php\",\n  \"note\": \"Page builder saves\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall/exceptions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall",
                    "exceptions"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns off firewall rules that stopped something you or a plugin did on purpose (a false alarm), like saving a page in a page builder: name the rules by number, as the event's `matchedRules` lists them (`GET /sites/{siteId}/firewall/events`). With `path`, only on that page and the pages under it (the safest choice; the rest of the site stays fully protected); without, everywhere on the site.\n\nThe answer is `201` with the firewall. `Location` is the new rule's path, `/v1/sites/{siteId}/firewall/rules/{ruleId}`: its id is the rule's `id` in `rules`, and `DELETE` there removes it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account.\n\n**Limits.** Up to 30 exceptions per site; the same exception can't be added twice (`409 conflict`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ruleIds\": [\n    942270,\n    942360\n  ],\n  \"path\": \"/wp-admin/admin-ajax.php\",\n  \"note\": \"Page builder saves\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      },\n      {\n        \"id\": \"f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c\",\n        \"kind\": \"exception\",\n        \"address\": null,\n        \"ruleIds\": [\n          942270,\n          942360\n        ],\n        \"path\": \"/wp-admin/admin-ajax.php\",\n        \"note\": \"Page builder saves\",\n        \"createdAt\": \"2026-11-18T09:31:17.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove an address or exception from a firewall",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall/rules/:ruleId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall",
                "rules",
                ":ruleId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "ruleId",
                  "value": "f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c",
                  "description": "The rule's id, from the firewall's `rules`."
                }
              ]
            },
            "description": "Removes an allowed or blocked address, or an exception, from the site's firewall; the answer is the firewall without it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall/rules/:ruleId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall",
                    "rules",
                    ":ruleId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "ruleId",
                      "value": "f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c",
                      "description": "The rule's id, from the firewall's `rules`."
                    }
                  ]
                },
                "description": "Removes an allowed or blocked address, or an exception, from the site's firewall; the answer is the firewall without it. The answer is the firewall with `status: \"applying\"` (or `installing` while the firewall is first set up on the server, a few minutes): the change reaches the server within seconds, then `status` is `active`. If it fails, `status` is `failed`: apply it again with `POST /sites/{siteId}/firewall/actions/apply`. Up to 60 changes a minute per account."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Apply a site's firewall settings again",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall/actions/apply",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall",
                "actions",
                "apply"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Sends the firewall's current settings and rules to the site's server again: the way to try again after `status` is `failed` (the reason is in `lastError`). The answer is `202` with `status: \"applying\"` (or `installing`); follow it on `GET /sites/{siteId}/firewall`. The site must be live and its server running. Up to 60 changes a minute per account."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall/actions/apply",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall",
                    "actions",
                    "apply"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Sends the firewall's current settings and rules to the site's server again: the way to try again after `status` is `failed` (the reason is in `lastError`). The answer is `202` with `status: \"applying\"` (or `installing`); follow it on `GET /sites/{siteId}/firewall`. The site must be live and its server running. Up to 60 changes a minute per account."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"protect\",\n    \"sensitivity\": \"standard\",\n    \"loginProtection\": true,\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"updatedAt\": \"2026-11-18T10:15:02.000Z\",\n    \"rules\": [\n      {\n        \"id\": \"e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b\",\n        \"kind\": \"block\",\n        \"address\": \"198.51.100.0/24\",\n        \"ruleIds\": [],\n        \"path\": null,\n        \"note\": \"Login attempts from a scanner\",\n        \"createdAt\": \"2026-11-18T09:20:03.000Z\"\n      },\n      {\n        \"id\": \"f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c\",\n        \"kind\": \"exception\",\n        \"address\": null,\n        \"ruleIds\": [\n          942270,\n          942360\n        ],\n        \"path\": \"/wp-admin/admin-ajax.php\",\n        \"note\": \"Page builder saves\",\n        \"createdAt\": \"2026-11-18T09:31:17.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "List the requests a site's firewall stopped",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/firewall/events?blocked=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "firewall",
                "events"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "blocked",
                  "value": "true",
                  "description": "`true`: only blocked requests. `false`: only flagged ones."
                }
              ]
            },
            "description": "Lists the latest requests the site's firewall blocked or flagged, newest first: up to 100 of each, with the address they came from, the page they asked for, the kind of attack and the rules they matched. Filter by `blocked`. Flagged requests are the ones Monitor mode let through.\n\nThey're read from the site's server (kept 20 seconds), so this can take a few seconds; when the server can't be reached it answers `502 server_unreachable`. Up to 30 reads a minute per account."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/firewall/events?blocked=true",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "firewall",
                    "events"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "blocked",
                      "value": "true",
                      "description": "`true`: only blocked requests. `false`: only flagged ones."
                    }
                  ]
                },
                "description": "Lists the latest requests the site's firewall blocked or flagged, newest first: up to 100 of each, with the address they came from, the page they asked for, the kind of attack and the rules they matched. Filter by `blocked`. Flagged requests are the ones Monitor mode let through.\n\nThey're read from the site's server (kept 20 seconds), so this can take a few seconds; when the server can't be reached it answers `502 server_unreachable`. Up to 30 reads a minute per account."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"aZq3Lk2mVt9Xw4Rn7Pb1\",\n      \"occurredAt\": \"2026-11-18T10:02:44.000Z\",\n      \"ip\": \"198.51.100.23\",\n      \"method\": \"GET\",\n      \"path\": \"/shop/\",\n      \"hasQuery\": true,\n      \"blocked\": true,\n      \"httpStatus\": 403,\n      \"score\": 10,\n      \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64)\",\n      \"category\": \"SQL injection\",\n      \"matchedRules\": [\n        {\n          \"ruleId\": 942270,\n          \"message\": \"Looking for basic SQL injection. Common attack string for MySQL, Oracle and others\"\n        },\n        {\n          \"ruleId\": 949110,\n          \"message\": \"Inbound Anomaly Score Exceeded (Total Score: 10)\"\n        }\n      ]\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Cloudflare protection",
      "description": "Putting a site behind Cloudflare.",
      "item": [
        {
          "name": "Get a site's Cloudflare protection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/protection",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "protection"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns the site's Cloudflare protection: whether it's on, the site's name at Cloudflare (`edge`), and each of its domains with where it stands and the DNS record that sends it through Cloudflare.\n\nWho changes a domain's DNS depends on where it is (`dnsBy`): Rabbitflare switches domains bought from Rabbitflare, and domains whose DNS is in a Cloudflare account you connected to Rabbitflare; for any other, set its `record` at its DNS company once its status is `ready`. Poll it to follow a change: what Rabbitflare knows about each domain's DNS is brought up to date in the background."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/protection",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "protection"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns the site's Cloudflare protection: whether it's on, the site's name at Cloudflare (`edge`), and each of its domains with where it stands and the DNS record that sends it through Cloudflare.\n\nWho changes a domain's DNS depends on where it is (`dnsBy`): Rabbitflare switches domains bought from Rabbitflare, and domains whose DNS is in a Cloudflare account you connected to Rabbitflare; for any other, set its `record` at its DNS company once its status is `ready`. Poll it to follow a change: what Rabbitflare knows about each domain's DNS is brought up to date in the background."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"on\": true,\n    \"status\": \"active\",\n    \"error\": null,\n    \"edge\": \"shop-x7k2p.rabbitflare.net\",\n    \"needs\": null,\n    \"domains\": [\n      {\n        \"domainId\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"hostname\": \"shop.example.com\",\n        \"status\": \"ready\",\n        \"detail\": \"Its certificate is ready. Change the record now.\",\n        \"record\": {\n          \"type\": \"CNAME\",\n          \"name\": \"shop.example.com\",\n          \"value\": \"shop-x7k2p.rabbitflare.net\"\n        },\n        \"dnsBy\": \"you\",\n        \"dnsCompany\": {\n          \"id\": \"godaddy\",\n          \"name\": \"GoDaddy\",\n          \"root\": \"none\"\n        }\n      }\n    ],\n    \"locked\": false,\n    \"stillPointed\": [],\n    \"connectFor\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn a site's Cloudflare protection on or off",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/protection",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "protection"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns Cloudflare protection on (`on: true`) or off (`on: false`). Turning it on needs a live site with its SSL certificate, its server running, and a domain of your own as its primary domain (`409 needs_domain`); not for staging copies.\n\n**What happens next.** The answer is `202` with `status: \"applying\"`. Turning on: the site's domains are added to Cloudflare, which checks each one and makes its certificate while the site keeps answering as before; each domain then goes through Cloudflare once its DNS points at `edge` (see `domains`). An hour after a domain starts coming through Cloudflare, the server refuses visitors who skip Cloudflare on it. Turning off takes up to 15 minutes; domains still pointed at `edge` keep working (`stillPointed`). If it fails, `status` is `failed` with the reason in `error`: send the same again to retry. Asking for what's already in place answers `200` as it is.\n\nUp to 30 changes a minute per account.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"on\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/protection",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "protection"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns Cloudflare protection on (`on: true`) or off (`on: false`). Turning it on needs a live site with its SSL certificate, its server running, and a domain of your own as its primary domain (`409 needs_domain`); not for staging copies.\n\n**What happens next.** The answer is `202` with `status: \"applying\"`. Turning on: the site's domains are added to Cloudflare, which checks each one and makes its certificate while the site keeps answering as before; each domain then goes through Cloudflare once its DNS points at `edge` (see `domains`). An hour after a domain starts coming through Cloudflare, the server refuses visitors who skip Cloudflare on it. Turning off takes up to 15 minutes; domains still pointed at `edge` keep working (`stillPointed`). If it fails, `status` is `failed` with the reason in `error`: send the same again to retry. Asking for what's already in place answers `200` as it is.\n\nUp to 30 changes a minute per account.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"on\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"on\": true,\n    \"status\": \"applying\",\n    \"error\": null,\n    \"edge\": \"shop-x7k2p.rabbitflare.net\",\n    \"needs\": null,\n    \"domains\": [\n      {\n        \"domainId\": \"c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"hostname\": \"shop.example.com\",\n        \"status\": \"preparing\",\n        \"detail\": \"Cloudflare is checking it and making its certificate (a few minutes). Nothing to change yet.\",\n        \"record\": {\n          \"type\": \"CNAME\",\n          \"name\": \"shop.example.com\",\n          \"value\": \"shop-x7k2p.rabbitflare.net\"\n        },\n        \"dnsBy\": \"you\",\n        \"dnsCompany\": {\n          \"id\": \"godaddy\",\n          \"name\": \"GoDaddy\",\n          \"root\": \"none\"\n        }\n      }\n    ],\n    \"locked\": false,\n    \"stillPointed\": [],\n    \"connectFor\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "List requests Cloudflare stopped on a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/protection/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "protection",
                "events"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the requests Cloudflare blocked or challenged on the site's protected domains over the last 24 hours, newest first (up to 200), with what stopped each one. Empty while protection is off.\n\nThey're read from Cloudflare (kept 30 seconds); when its log can't be read just now it answers `502 bad_gateway`: try again in a minute."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/protection/events",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "protection",
                    "events"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the requests Cloudflare blocked or challenged on the site's protected domains over the last 24 hours, newest first (up to 200), with what stopped each one. Empty while protection is off.\n\nThey're read from Cloudflare (kept 30 seconds); when its log can't be read just now it answers `502 bad_gateway`: try again in a minute."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"8e3f2a1b4c5d6e7f\",\n      \"occurredAt\": \"2026-11-18T10:44:09.000Z\",\n      \"action\": \"managed_challenge\",\n      \"hostname\": \"shop.example.com\",\n      \"method\": \"POST\",\n      \"path\": \"/wp-login.php\",\n      \"ip\": \"198.51.100.77\",\n      \"country\": \"US\",\n      \"reason\": \"Managed rules\",\n      \"userAgent\": \"python-requests/2.32.3\",\n      \"rayId\": \"8e3f2a1b4c5d6e7f\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Server security",
      "description": "Imunify360 on a server: its firewall, web application firewall, bot checks, kernel patches and WordPress plugin.",
      "item": [
        {
          "name": "Get a server's security",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Returns Imunify360 on the server: whether it's on (`status`) and can run there (`available`), each site's malware protection and what it costs, the server's figures, its settings, ports, rules turned off, recent scans, KernelCare, blacklist checks, the WordPress plugin, and the search engines its bot checks let through.\n\nIt answers at once with the figures kept (`checkedAt` says when they're from); when they're over 30 seconds old, newer ones are fetched from the server in the background (`refreshing` is true): read again in a few seconds. The address lists and the attacks of the last 24 hours have operations of their own (`GET /servers/{serverId}/security/addresses`, `…/incidents`); a site's threats are `GET /sites/{siteId}/malware-protection/threats`.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Returns Imunify360 on the server: whether it's on (`status`) and can run there (`available`), each site's malware protection and what it costs, the server's figures, its settings, ports, rules turned off, recent scans, KernelCare, blacklist checks, the WordPress plugin, and the search engines its bot checks let through.\n\nIt answers at once with the figures kept (`checkedAt` says when they're from); when they're over 30 seconds old, newer ones are fetched from the server in the background (`refreshing` is true): read again in a few seconds. The address lists and the attacks of the last 24 hours have operations of their own (`GET /servers/{serverId}/security/addresses`, `…/incidents`); a site's threats are `GET /sites/{siteId}/malware-protection/threats`.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on a server's security",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns Imunify360 on for the server. It's free: Imunify360 comes with servers Rabbitflare creates (Intel or AMD processors, 2 GB of memory or more), and the server's oldest site gets malware protection included (unless a site has it already). It uses about 300 MB of the server's memory, and its web application firewall rules take the place of Rabbitflare's own for the server's sites.\n\n**What happens next.** The answer is `202` with `status: \"installing\"`. A few minutes later it's `on` (`server.security_enabled`), or `failed` (`server.security_failed`; turn it on again to retry). Sent again while it's still installing, it answers `202` again; `200` once it's on.\n\n**Refusals.** `409 not_supported` when the server can't run it (`available: false` says why), `409 busy` while it's being turned off. After a failure, sites that had malware protection keep it, so turning it back on would restart each extra site's charge ($2.99 a month): while more than one site has it, the API refuses that (`409 invalid_state`): do it in the panel, or turn it off for the server.\n\nThe panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns Imunify360 on for the server. It's free: Imunify360 comes with servers Rabbitflare creates (Intel or AMD processors, 2 GB of memory or more), and the server's oldest site gets malware protection included (unless a site has it already). It uses about 300 MB of the server's memory, and its web application firewall rules take the place of Rabbitflare's own for the server's sites.\n\n**What happens next.** The answer is `202` with `status: \"installing\"`. A few minutes later it's `on` (`server.security_enabled`), or `failed` (`server.security_failed`; turn it on again to retry). Sent again while it's still installing, it answers `202` again; `200` once it's on.\n\n**Refusals.** `409 not_supported` when the server can't run it (`available: false` says why), `409 busy` while it's being turned off. After a failure, sites that had malware protection keep it, so turning it back on would restart each extra site's charge ($2.99 a month): while more than one site has it, the API refuses that (`409 invalid_state`): do it in the panel, or turn it off for the server.\n\nThe panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"installing\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-25T09:20:00.000Z\",\n        \"openThreats\": 0\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": null,\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 0,\n      \"openThreats\": 0,\n      \"cleaned30d\": 0,\n      \"blockedAddresses\": 0,\n      \"lastScanAt\": null,\n      \"vulnerable\": 0\n    },\n    \"settings\": null,\n    \"ports\": [],\n    \"disabledRules\": [],\n    \"scans\": [],\n    \"kernelPatching\": {\n      \"status\": \"unknown\",\n      \"patchedTo\": null\n    },\n    \"reputation\": {\n      \"checkedAt\": null,\n      \"domains\": []\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": false,\n      \"sites\": []\n    },\n    \"crawlers\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off a server's security",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns Imunify360 off for the server. Every site's malware protection goes off with it (their charges end), and the server's address lists, ports, rules turned off, settings and the copies kept for undoing clean-ups are removed. The sites' web application firewalls go back to Rabbitflare's own rules.\n\n**What happens next.** The answer is `202` with `status: \"removing\"`, then `server.security_disabled` (or `server.security_failed`). Sent again while it's still being removed, it answers `202` again; `200` once it's off. It's never turned on again by itself: `…/actions/enable` turns it on.\n\nThe panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns Imunify360 off for the server. Every site's malware protection goes off with it (their charges end), and the server's address lists, ports, rules turned off, settings and the copies kept for undoing clean-ups are removed. The sites' web application firewalls go back to Rabbitflare's own rules.\n\n**What happens next.** The answer is `202` with `status: \"removing\"`, then `server.security_disabled` (or `server.security_failed`). Sent again while it's still being removed, it answers `202` again; `200` once it's off. It's never turned on again by itself: `…/actions/enable` turns it on.\n\nThe panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"removing\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": null,\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 0,\n      \"openThreats\": 0,\n      \"cleaned30d\": 0,\n      \"blockedAddresses\": 0,\n      \"lastScanAt\": null,\n      \"vulnerable\": 0\n    },\n    \"settings\": null,\n    \"ports\": [],\n    \"disabledRules\": [],\n    \"scans\": [],\n    \"kernelPatching\": {\n      \"status\": \"unknown\",\n      \"patchedTo\": null\n    },\n    \"reputation\": {\n      \"checkedAt\": null,\n      \"domains\": []\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": false,\n      \"sites\": []\n    },\n    \"crawlers\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a server's security settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "settings"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Changes Imunify360's settings on the server: malware scanning and what happens to what it finds, denial-of-service and password-guessing protection, intrusion detection, the port list's mode, the web application firewall's rules, bot checks, daily blacklist checks, and which emails the account's owner gets. Settings left out stay as they are; at least one is needed (`422`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cleanMode\": \"alert\",\n  \"scanInterval\": \"week\",\n  \"scanDay\": 0,\n  \"alerts\": {\n    \"cleaned\": false\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Changes Imunify360's settings on the server: malware scanning and what happens to what it finds, denial-of-service and password-guessing protection, intrusion detection, the port list's mode, the web application firewall's rules, bot checks, daily blacklist checks, and which emails the account's owner gets. Settings left out stay as they are; at least one is needed (`422`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"cleanMode\": \"alert\",\n  \"scanInterval\": \"week\",\n  \"scanDay\": 0,\n  \"alerts\": {\n    \"cleaned\": false\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "List a server's allowed and blocked addresses",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/addresses?kind=block",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "addresses"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "block",
                  "description": "Only this list: `allow`, `block` or `challenge`."
                },
                {
                  "key": "automatic",
                  "value": "",
                  "description": "`true`: only entries Imunify360 added itself. `false`: only yours.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the addresses, ranges and countries on the server's lists: `allow` (never blocked), `block` (refused by every site on the server, whatever a site's own firewall allows) and `challenge` (a CAPTCHA first). Imunify360 adds some itself (`automatic`), most for a day. The server keeps at most 1000; the list is empty while Imunify360 isn't on.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/addresses?kind=block",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "addresses"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "block",
                      "description": "Only this list: `allow`, `block` or `challenge`."
                    },
                    {
                      "key": "automatic",
                      "value": "",
                      "description": "`true`: only entries Imunify360 added itself. `false`: only yours.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the addresses, ranges and countries on the server's lists: `allow` (never blocked), `block` (refused by every site on the server, whatever a site's own firewall allows) and `challenge` (a CAPTCHA first). Imunify360 adds some itself (`automatic`), most for a day. The server keeps at most 1000; the list is empty while Imunify360 isn't on.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"block:185.191.171.0/24\",\n      \"key\": \"185.191.171.0/24\",\n      \"kind\": \"block\",\n      \"ip\": \"185.191.171.0/24\",\n      \"country\": null,\n      \"comment\": \"SSH password guessing\",\n      \"automatic\": false,\n      \"addedAt\": \"2026-11-25T08:59:40.000Z\",\n      \"expiresAt\": null\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Allow, block or challenge an address on a server",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/addresses",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "addresses"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Adds an IP address or range, or a whole country, to one of the server's lists: `allow`, `block` or `challenge` (addresses only). It applies to every site on the server. With `expiresInMinutes` it comes off by itself.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"block\",\n  \"ip\": \"185.191.171.0/24\",\n  \"comment\": \"SSH password guessing\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/addresses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "addresses"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Adds an IP address or range, or a whole country, to one of the server's lists: `allow`, `block` or `challenge` (addresses only). It applies to every site on the server. With `expiresInMinutes` it comes off by itself.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"block\",\n  \"ip\": \"185.191.171.0/24\",\n  \"comment\": \"SSH password guessing\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Take an address off a server's list",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/addresses/actions/remove",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "addresses",
                "actions",
                "remove"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Takes an entry off one of the server's lists, by its `kind` and `key` (in the body: a range's key has a `/`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"block\",\n  \"key\": \"185.191.171.0/24\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/addresses/actions/remove",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "addresses",
                    "actions",
                    "remove"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Takes an entry off one of the server's lists, by its `kind` and `key` (in the body: a range's key has a `/`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"block\",\n  \"key\": \"185.191.171.0/24\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Move an address to another of a server's lists",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/addresses/actions/move",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "addresses",
                "actions",
                "move"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Moves an entry from one of the server's lists to another, keeping its note: to block an address Imunify360 only challenged, for example. A country can't go to `challenge`.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"key\": \"45.146.165.10\",\n  \"from\": \"challenge\",\n  \"to\": \"block\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/addresses/actions/move",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "addresses",
                    "actions",
                    "move"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Moves an entry from one of the server's lists to another, keeping its note: to block an address Imunify360 only challenged, for example. A country can't go to `challenge`.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"key\": \"45.146.165.10\",\n  \"from\": \"challenge\",\n  \"to\": \"block\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a port to a server's port list",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/ports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "ports"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Adds a port to the server's port list: closed while `settings.portsMode` is `open_except`, open while it's `closed_except`. TCP ports 22, 22022, 80 and 443 always stay open (`422`): Rabbitflare reaches the server through them, and visitors the sites.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"port\": 3306,\n  \"protocol\": \"tcp\",\n  \"comment\": \"Database: only the office\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/ports",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "ports"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Adds a port to the server's port list: closed while `settings.portsMode` is `open_except`, open while it's `closed_except`. TCP ports 22, 22022, 80 and 443 always stay open (`422`): Rabbitflare reaches the server through them, and visitors the sites.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"port\": 3306,\n  \"protocol\": \"tcp\",\n  \"comment\": \"Database: only the office\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Take a port off a server's port list",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/ports/:protocol/:port",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "ports",
                ":protocol",
                ":port"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                },
                {
                  "key": "protocol",
                  "value": "tcp",
                  "description": "`tcp` or `udp`."
                },
                {
                  "key": "port",
                  "value": "3306",
                  "description": "The port, 1 to 65535."
                }
              ]
            },
            "description": "Takes a port off the server's port list.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/ports/:protocol/:port",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "ports",
                    ":protocol",
                    ":port"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    },
                    {
                      "key": "protocol",
                      "value": "tcp",
                      "description": "`tcp` or `udp`."
                    },
                    {
                      "key": "port",
                      "value": "3306",
                      "description": "The port, 1 to 65535."
                    }
                  ]
                },
                "description": "Takes a port off the server's port list.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 60 changes a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the attacks stopped on a server",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/incidents?action=challenged",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "incidents"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ],
              "query": [
                {
                  "key": "siteId",
                  "value": "",
                  "description": "Only attacks on this site.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "Only this kind of attack.",
                  "disabled": true
                },
                {
                  "key": "severity",
                  "value": "",
                  "description": "Only this severity.",
                  "disabled": true
                },
                {
                  "key": "action",
                  "value": "challenged",
                  "description": "Only what Imunify360 did this: `blocked`, `challenged` or `logged`."
                }
              ]
            },
            "description": "Returns the attacks Imunify360 stopped (or only logged) on the server in the last 24 hours, newest first: web application firewall rules, attacks the WordPress plugin stopped inside a site, password guessing, denial of service, bots, port scans and addresses known for attacks. The server keeps at most 500. They aren't paged: an incident's id isn't kept from one look to the next, so look again for newer ones.\n\nA site's own are also in `GET /sites/{siteId}/malware-protection` (`incidents`), for a token with `sites:read`.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/incidents?action=challenged",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "incidents"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "siteId",
                      "value": "",
                      "description": "Only attacks on this site.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "Only this kind of attack.",
                      "disabled": true
                    },
                    {
                      "key": "severity",
                      "value": "",
                      "description": "Only this severity.",
                      "disabled": true
                    },
                    {
                      "key": "action",
                      "value": "challenged",
                      "description": "Only what Imunify360 did this: `blocked`, `challenged` or `logged`."
                    }
                  ]
                },
                "description": "Returns the attacks Imunify360 stopped (or only logged) on the server in the last 24 hours, newest first: web application firewall rules, attacks the WordPress plugin stopped inside a site, password guessing, denial of service, bots, port scans and addresses known for attacks. The server keeps at most 500. They aren't paged: an incident's id isn't kept from one look to the next, so look again for newer ones.\n\nA site's own are also in `GET /sites/{siteId}/malware-protection` (`incidents`), for a token with `sites:read`.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Scan a server's sites for malware",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/actions/scan",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "actions",
                "scan"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Scans every site of the server with malware protection on, now: their files, and their databases with `database: true`. What's found shows in each site's threats, and as `malware.found` or `malware.cleaned` events. One site alone: `POST /sites/{siteId}/malware-protection/actions/scan`.\n\nThe answer is `202` with the server's security (the scan in `scans`). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running. At least one site needs malware protection on (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 scans a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"database\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/actions/scan",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "actions",
                    "scan"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Scans every site of the server with malware protection on, now: their files, and their databases with `database: true`. What's found shows in each site's threats, and as `malware.found` or `malware.cleaned` events. One site alone: `POST /sites/{siteId}/malware-protection/actions/scan`.\n\nThe answer is `202` with the server's security (the scan in `scans`). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running. At least one site needs malware protection on (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 scans a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"database\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off a security rule for false alarms",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/rules/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "rules",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns a rule off that stops something a site needs, named by `ruleId` in the body: a web application firewall rule by its number, or a WordPress plugin rule by its name (an incident's `ruleId`, or a firewall event's rule). With `siteIds` it's off for those sites only (each needs malware protection on: `409 malware_protection_off`); without, for every site on the server. `servers.security.rules.enable` turns it back on.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ruleId\": \"77350218\",\n  \"siteIds\": [\n    \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n  ],\n  \"note\": \"Turned off for the shop's page builder\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/rules/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "rules",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns a rule off that stops something a site needs, named by `ruleId` in the body: a web application firewall rule by its number, or a WordPress plugin rule by its name (an incident's `ruleId`, or a firewall event's rule). With `siteIds` it's off for those sites only (each needs malware protection on: `409 malware_protection_off`); without, for every site on the server. `servers.security.rules.enable` turns it back on.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ruleId\": \"77350218\",\n  \"siteIds\": [\n    \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n  ],\n  \"note\": \"Turned off for the shop's page builder\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn a security rule back on",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/rules/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "rules",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns a rule back on (`ruleId` in the body, as `disabledRules` names it), everywhere it was off: for every site it was turned off for, or the whole server. A WordPress plugin rule that isn't off on the server (see `disabledRules`) is `404`; a web application firewall rule is passed to the server as it is: one that isn't off changes nothing, or the server refuses it (`422 security_refused`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"ruleId\": \"77350218\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/rules/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "rules",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns a rule back on (`ruleId` in the body, as `disabledRules` names it), everywhere it was off: for every site it was turned off for, or the whole server. A WordPress plugin rule that isn't off on the server (see `disabledRules`) is `404`; a web application firewall rule is passed to the server as it is: one that isn't off changes nothing, or the server refuses it (`422 security_refused`).\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"ruleId\": \"77350218\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Install KernelCare on a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/kernel-patching/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "kernel-patching",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Installs KernelCare: the server's kernel gets security patches without a restart. It's free with Imunify360.\n\nThe answer is `202` with the server's security while `kernelPatching.status` is `installing`, `200` once it's `installed`. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 13 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/kernel-patching/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "kernel-patching",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Installs KernelCare: the server's kernel gets security patches without a restart. It's free with Imunify360.\n\nThe answer is `202` with the server's security while `kernelPatching.status` is `installing`, `200` once it's `installed`. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 13 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installing\",\n      \"patchedTo\": null\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove KernelCare from a server",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/kernel-patching/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "kernel-patching",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Removes KernelCare from the server: its kernel then gets security patches only with a restart.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 13 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/kernel-patching/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "kernel-patching",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Removes KernelCare from the server: its kernel then gets security patches only with a restart.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 13 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"not_installed\",\n      \"patchedTo\": null\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Check a server's domains against blacklists",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/reputation/actions/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "reputation",
                "actions",
                "check"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Starts a check of the server's sites' domains against blacklists, now (it also runs daily while `settings.reputation` is on). Results show within the hour: watch `reputation.checkedAt`. A domain newly on a blacklist sends `malware.warning`.\n\nThe answer is `202` with the server's security as it is. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 5 checks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/reputation/actions/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "reputation",
                    "actions",
                    "check"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Starts a check of the server's sites' domains against blacklists, now (it also runs daily while `settings.reputation` is on). Results show within the hour: watch `reputation.checkedAt`. A domain newly on a blacklist sends `malware.warning`.\n\nThe answer is `202` with the server's security as it is. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 5 checks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on Imunify360's WordPress plugin",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/wordpress-plugin/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "wordpress-plugin",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns Imunify360's WordPress plugin (Imunify Security) on for the server: it goes onto every site with malware protection on, one after another (about a minute each), and onto each site that gets malware protection later. Inside each site it stops attacks on known holes in WordPress, its plugins and themes, and limits AI bots. `PATCH /sites/{siteId}/malware-protection/wordpress-plugin` changes it per site.\n\nThe answer is `202` with the server's security (each site's `status` is `adding` until it's in). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/wordpress-plugin/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "wordpress-plugin",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns Imunify360's WordPress plugin (Imunify Security) on for the server: it goes onto every site with malware protection on, one after another (about a minute each), and onto each site that gets malware protection later. Inside each site it stops attacks on known holes in WordPress, its plugins and themes, and limits AI bots. `PATCH /sites/{siteId}/malware-protection/wordpress-plugin` changes it per site.\n\nThe answer is `202` with the server's security (each site's `status` is `adding` until it's in). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"adding\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off Imunify360's WordPress plugin",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/wordpress-plugin/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "wordpress-plugin",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Turns Imunify360's WordPress plugin off for the server: it's taken off every site, with its data (its settings in each site).\n\nThe answer is `202` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/wordpress-plugin/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "wordpress-plugin",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Turns Imunify360's WordPress plugin off for the server: it's taken off every site, with its data (its settings in each site).\n\nThe answer is `202` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": false,\n      \"sites\": []\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Let a search engine through a server's bot checks",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/crawlers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "crawlers"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                }
              ]
            },
            "description": "Adds a search engine the bot checks always let through: a visitor whose address's name ends with one of `domains` (checked both ways). Google, Bing, Yandex and Baidu are let through already.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"DuckDuckGo\",\n  \"url\": \"https://duckduckgo.com/duckduckbot\",\n  \"domains\": [\n    \".duckduckgo.com\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/crawlers",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "crawlers"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    }
                  ]
                },
                "description": "Adds a search engine the bot checks always let through: a visitor whose address's name ends with one of `domains` (checked both ways). Google, Bing, Yandex and Baidu are let through already.\n\nThe answer is `201` with the server's security. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"DuckDuckGo\",\n  \"url\": \"https://duckduckgo.com/duckduckbot\",\n  \"domains\": [\n    \".duckduckgo.com\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      },\n      {\n        \"id\": \"12\",\n        \"name\": \"DuckDuckGo\",\n        \"url\": \"https://duckduckgo.com/duckduckbot\",\n        \"domains\": [\n          \".duckduckgo.com\"\n        ],\n        \"builtIn\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Stop letting a search engine through",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/servers/:serverId/security/crawlers/:crawlerId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "servers",
                ":serverId",
                "security",
                "crawlers",
                ":crawlerId"
              ],
              "variable": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The server's id."
                },
                {
                  "key": "crawlerId",
                  "value": "12",
                  "description": "The search engine's `id`, from `crawlers`."
                }
              ]
            },
            "description": "Takes a search engine you added off the list the bot checks let through. Imunify360's own (`builtIn`) always stay (`409 invalid_state`); an id that isn't digits is `422`.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/servers/:serverId/security/crawlers/:crawlerId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "servers",
                    ":serverId",
                    "security",
                    "crawlers",
                    ":crawlerId"
                  ],
                  "variable": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The server's id."
                    },
                    {
                      "key": "crawlerId",
                      "value": "12",
                      "description": "The search engine's `id`, from `crawlers`."
                    }
                  ]
                },
                "description": "Takes a search engine you added off the list the bot checks let through. Imunify360's own (`builtIn`) always stay (`409 invalid_state`); an id that isn't digits is `422`.\n\nThe answer is the server's security with the change in it (its figures asked for again). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the server running.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"lastError\": null,\n    \"extraSitePriceCents\": 299,\n    \"currency\": \"usd\",\n    \"sites\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"enabled\": true,\n        \"included\": true,\n        \"enabledAt\": \"2026-11-21T10:02:11.000Z\",\n        \"openThreats\": 1\n      },\n      {\n        \"siteId\": \"7c2e9a41-3b5d-4f68-a1c9-5d2e8f0b4a67\",\n        \"enabled\": false,\n        \"included\": false,\n        \"enabledAt\": null,\n        \"openThreats\": 0\n      }\n    ],\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"stats\": {\n      \"attacksStopped24h\": 53,\n      \"openThreats\": 1,\n      \"cleaned30d\": 2,\n      \"blockedAddresses\": 2,\n      \"lastScanAt\": \"2026-11-25T03:00:12.000Z\",\n      \"vulnerable\": 1\n    },\n    \"settings\": {\n      \"realtime\": true,\n      \"scanInterval\": \"day\",\n      \"scanHour\": 3,\n      \"scanDay\": 0,\n      \"intensity\": \"moderate\",\n      \"dbScan\": true,\n      \"crontabs\": true,\n      \"rapidScan\": true,\n      \"adminTools\": true,\n      \"cleanMode\": \"auto\",\n      \"keepCopiesDays\": 14,\n      \"dos\": true,\n      \"dosLimit\": 250,\n      \"enhancedDos\": false,\n      \"enhancedDosLimit\": 250,\n      \"enhancedDosSeconds\": 30,\n      \"sshBruteForce\": true,\n      \"intrusionDetection\": true,\n      \"portsMode\": \"open_except\",\n      \"ruleset\": \"full\",\n      \"wpBruteForce\": true,\n      \"cmsRules\": true,\n      \"captcha\": true,\n      \"antibot\": true,\n      \"cdnSupport\": true,\n      \"reputation\": true,\n      \"alerts\": {\n        \"malwareFound\": true,\n        \"cleaned\": true,\n        \"blacklisted\": true,\n        \"vulnerable\": true\n      }\n    },\n    \"ports\": [\n      {\n        \"port\": 3306,\n        \"protocol\": \"tcp\",\n        \"comment\": \"Database: only the office\",\n        \"allowedAddresses\": [\n          \"198.51.100.7\"\n        ]\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ],\n    \"scans\": [\n      {\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"kernelPatching\": {\n      \"status\": \"installed\",\n      \"patchedTo\": \"6.8.0-49-generic\"\n    },\n    \"reputation\": {\n      \"checkedAt\": \"2026-11-25T04:00:00.000Z\",\n      \"domains\": [\n        {\n          \"domain\": \"shop.example.com\",\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"listed\": false,\n          \"lists\": []\n        }\n      ]\n    },\n    \"wordpressPlugin\": {\n      \"enabled\": true,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"status\": \"on\",\n          \"firewall\": true,\n          \"aiBotProtection\": true,\n          \"preset\": \"balanced\"\n        }\n      ]\n    },\n    \"crawlers\": [\n      {\n        \"id\": \"1\",\n        \"name\": \"Google\",\n        \"url\": \"https://support.google.com/webmasters/answer/80553?hl=en\",\n        \"domains\": [\n          \".google.com\",\n          \".googlebot.com\"\n        ],\n        \"builtIn\": true\n      }\n    ]\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Malware protection",
      "description": "Imunify360's malware scanning and cleaning for a site.",
      "item": [
        {
          "name": "Get a site's malware protection",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns the site's malware protection: whether it's on, whether it's the server's included site and what it costs, the server's Imunify360 status, recent scans, files and folders scans skip, what the site has installed with known security holes, Imunify360's WordPress plugin in the site, and the attacks on the site in the last 24 hours with the rules turned off for it. Its threats are a list of their own: `GET /sites/{siteId}/malware-protection/threats`.\n\nA staging copy can't have malware protection (`available: false`).\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns the site's malware protection: whether it's on, whether it's the server's included site and what it costs, the server's Imunify360 status, recent scans, files and folders scans skip, what the site has installed with known security holes, Imunify360's WordPress plugin in the site, and the attacks on the site in the last 24 hours with the rules turned off for it. Its threats are a list of their own: `GET /sites/{siteId}/malware-protection/threats`.\n\nA staging copy can't have malware protection (`available: false`).\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on a site's malware protection",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesMalwareProtectionEnable\")) pm.collectionVariables.set(\"idempotencyKey_sitesMalwareProtectionEnable\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesMalwareProtectionEnable\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesMalwareProtectionEnable}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns malware protection on for the site: Imunify360 scans it, cleans what it finds and watches what it has installed for known security holes. The server's included site costs nothing; each other site with malware protection on is $2.99 a month, by the days it's on, billed after the month (from the wallet first, then the saved card). Up to 30 sites a server can have it (`409 limit_reached`).\n\n**Paying.** It's treated as spending money whether or not this site would be the included one (the price depends on the server's other sites, which can change between a look and this call): it needs `billing:write`, an `Idempotency-Key`, and the account's agreement to card charges (`403 charges_not_authorized`, given once in the panel's Billing). Nothing is charged now. An extra site needs a saved card even when the wallet has money (`402 payment_method_required`): the month's bill goes to the card when the wallet can't pay it.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the site live (a staging copy: `409 staging_copy`). `malware_protection.enabled` follows.\n\nThe panel's own limit applies too: 20 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesMalwareProtectionEnable}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns malware protection on for the site: Imunify360 scans it, cleans what it finds and watches what it has installed for known security holes. The server's included site costs nothing; each other site with malware protection on is $2.99 a month, by the days it's on, billed after the month (from the wallet first, then the saved card). Up to 30 sites a server can have it (`409 limit_reached`).\n\n**Paying.** It's treated as spending money whether or not this site would be the included one (the price depends on the server's other sites, which can change between a look and this call): it needs `billing:write`, an `Idempotency-Key`, and the account's agreement to card charges (`403 charges_not_authorized`, given once in the panel's Billing). Nothing is charged now. An extra site needs a saved card even when the wallet has money (`402 payment_method_required`): the month's bill goes to the card when the wallet can't pay it.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing), and the site live (a staging copy: `409 staging_copy`). `malware_protection.enabled` follows.\n\nThe panel's own limit applies too: 20 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": false,\n    \"priceCents\": 299,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 2,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off a site's malware protection",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns malware protection off for the site: an extra site's charge ends; turning off the included site gives its place to the next site with it on. The server's firewall still guards the site. `malware_protection.disabled` follows.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; while it's failed, turn it off for the server instead: that turns it off for every site). A site whose protection is off already is answered `200` as it is, whatever the server's security is doing.\n\nThe panel's own limit applies too: 20 switches a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns malware protection off for the site: an extra site's charge ends; turning off the included site gives its place to the next site with it on. The server's firewall still guards the site. `malware_protection.disabled` follows.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; while it's failed, turn it off for the server instead: that turns it off for every site). A site whose protection is off already is answered `200` as it is, whatever the server's security is doing.\n\nThe panel's own limit applies too: 20 switches a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": false,\n    \"included\": false,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 0,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a site's malware protection emails",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "settings"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns the emails about this site on or off: threats found, clean-ups, its domain on a blacklist and known security holes (the server's own settings choose which kinds are sent). `alerts` is required.\n\nThe answer is the site's malware protection with the change in it.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"alerts\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns the emails about this site on or off: threats found, clean-ups, its domain on a blacklist and known security holes (the server's own settings choose which kinds are sent). `alerts` is required.\n\nThe answer is the site's malware protection with the change in it.\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"alerts\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": false,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "List a site's malware threats",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats?status=open",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "threats"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "open",
                  "description": "Only threats in this state."
                },
                {
                  "key": "severity",
                  "value": "",
                  "description": "Only this severity.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "Only in files, or only in the database.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the malware and other threats found on the site: open ones to clean or ignore, and those cleaned or ignored (kept while the server keeps them, at most 1000 a server). Empty while Imunify360 isn't on.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats?status=open",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "threats"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "open",
                      "description": "Only threats in this state."
                    },
                    {
                      "key": "severity",
                      "value": "",
                      "description": "Only this severity.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "Only in files, or only in the database.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the malware and other threats found on the site: open ones to clean or ignore, and those cleaned or ignored (kept while the server keeps them, at most 1000 a server). Empty while Imunify360 isn't on.\n\nThe panel's own limit applies too: 120 looks a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"1\",\n      \"kind\": \"file\",\n      \"location\": \"wp-content/uploads/cache.php\",\n      \"threat\": \"Web shell (a backdoor that lets attackers run commands)\",\n      \"signature\": \"SMW-SA-20634-php.bkdr.wshll-0\",\n      \"severity\": \"critical\",\n      \"foundBy\": \"realtime\",\n      \"foundAt\": \"2026-11-25T08:14:02.000Z\",\n      \"status\": \"open\",\n      \"doneAt\": null,\n      \"canUndo\": false\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Clean a site's malware threats",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/clean",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "threats",
                "actions",
                "clean"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Cleans the threats: the malicious code is taken out of each file (or the database), and a copy of each file as it was is kept for `keepCopiesDays`, so the clean-up can be undone (`…/actions/undo-clean`). An id that isn't one of this site's threats now is `404`.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/clean",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "threats",
                    "actions",
                    "clean"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Cleans the threats: the malicious code is taken out of each file (or the database), and a copy of each file as it was is kept for `keepCopiesDays`, so the clean-up can be undone (`…/actions/undo-clean`). An id that isn't one of this site's threats now is `404`.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Undo a clean-up of a site's threats",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/undo-clean",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "threats",
                "actions",
                "undo-clean"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Puts the files back as they were before the clean-up, while the threat's `canUndo` is true (the copy is kept for `keepCopiesDays`).\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/undo-clean",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "threats",
                    "actions",
                    "undo-clean"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Puts the files back as they were before the clean-up, while the threat's `canUndo` is true (the copy is kept for `keepCopiesDays`).\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Mark a site's threats as not malware",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/ignore",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "threats",
                "actions",
                "ignore"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Marks the threats as not malware: they're left as they are and no longer count as open. To have scans skip a file or folder from now on, add it to `ignoredPaths`.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/threats/actions/ignore",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "threats",
                    "actions",
                    "ignore"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Marks the threats as not malware: they're left as they are and no longer count as open. To have scans skip a file or folder from now on, add it to `ignoredPaths`.\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 15 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"threatIds\": [\n    \"1\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Have malware scans skip a path on a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/ignored-paths",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "ignored-paths"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Adds a file or folder inside the site's folder for scans to skip: a tool you trust that looks like malware, for example.\n\nThe answer is `201` with the site's malware protection. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"wp-content/plugins/my-backup-tool/restore.php\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/ignored-paths",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "ignored-paths"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Adds a file or folder inside the site's folder for scans to skip: a tool you trust that looks like malware, for example.\n\nThe answer is `201` with the site's malware protection. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"wp-content/plugins/my-backup-tool/restore.php\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Stop malware scans skipping a path",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/ignored-paths/:ignoredPathId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "ignored-paths",
                ":ignoredPathId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "ignoredPathId",
                  "value": "3",
                  "description": "The entry's `id`, from `ignoredPaths`."
                }
              ]
            },
            "description": "Takes a file or folder off the paths scans skip, by its `id` in `ignoredPaths` (digits; anything else is `422`).\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/ignored-paths/:ignoredPathId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "ignored-paths",
                    ":ignoredPathId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "ignoredPathId",
                      "value": "3",
                      "description": "The entry's `id`, from `ignoredPaths`."
                    }
                  ]
                },
                "description": "Takes a file or folder off the paths scans skip, by its `id` in `ignoredPaths` (digits; anything else is `422`).\n\nThe answer is the site's malware protection with the change in it. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\nThe panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Scan a site for malware",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/scan",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "actions",
                "scan"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Scans the site now: its files, and its database with `database: true`. What's found shows in its threats, and as `malware.found` or `malware.cleaned` events.\n\nThe answer is `202` with the site's malware protection (the scan in `scans`). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 scans a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"database\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/actions/scan",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "actions",
                    "scan"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Scans the site now: its files, and its database with `database: true`. What's found shows in its threats, and as `malware.found` or `malware.cleaned` events.\n\nThe answer is `202` with the site's malware protection (the scan in `scans`). Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 8 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 10 scans a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"database\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"on\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Change Imunify360's WordPress plugin in a site",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/malware-protection/wordpress-plugin",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "malware-protection",
                "wordpress-plugin"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Changes Imunify360's WordPress plugin in the site: adds it (about a minute) or takes it off, and turns its firewall and AI bot protection on or off. The plugin must be on for the server (`409 wordpress_plugin_off`: `servers.security.wordpressPlugin.enable`).\n\nThe answer is `202` with the site's malware protection while the plugin is being added (`wordpressPlugin.status` is `adding`), `200` otherwise. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 14 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"installed\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/malware-protection/wordpress-plugin",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "malware-protection",
                    "wordpress-plugin"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Changes Imunify360's WordPress plugin in the site: adds it (about a minute) or takes it off, and turns its firewall and AI bot protection on or off. The plugin must be on for the server (`409 wordpress_plugin_off`: `servers.security.wordpressPlugin.enable`).\n\nThe answer is `202` with the site's malware protection while the plugin is being added (`wordpressPlugin.status` is `adding`), `200` otherwise. Imunify360 must be on for the server (`409 security_off`; `409 not_ready` while it's still installing) and malware protection on for the site (`409 malware_protection_off`).\n\n**A long request.** The answer waits for the server to finish, up to 14 minutes (the change and Imunify360's figures read again): give your HTTP client a timeout that long. If the connection is cut first, the work still goes on; look at the view again for the result. The panel's own limit applies too: 30 changes a minute per person, shared with the panel (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"installed\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"available\": true,\n    \"unavailableReason\": null,\n    \"serverSecurityStatus\": \"on\",\n    \"enabled\": true,\n    \"included\": true,\n    \"priceCents\": 0,\n    \"currency\": \"usd\",\n    \"sitesEnabledOnServer\": 1,\n    \"checkedAt\": \"2026-11-25T09:14:02.000Z\",\n    \"refreshing\": false,\n    \"realtime\": true,\n    \"keepCopiesDays\": 14,\n    \"alerts\": true,\n    \"scans\": [\n      {\n        \"kind\": \"nightly\",\n        \"status\": \"done\",\n        \"startedAt\": \"2026-11-25T03:00:12.000Z\",\n        \"finishedAt\": \"2026-11-25T03:02:40.000Z\",\n        \"files\": 4334,\n        \"found\": 1\n      }\n    ],\n    \"ignoredPaths\": [\n      {\n        \"id\": \"3\",\n        \"path\": \"wp-content/plugins/my-backup-tool/restore.php\",\n        \"addedAt\": \"2026-11-24T16:20:00.000Z\"\n      }\n    ],\n    \"vulnerabilities\": [\n      {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d:plugin:contact-form-7\",\n        \"kind\": \"plugin\",\n        \"folder\": \"contact-form-7\",\n        \"name\": \"Contact Form 7\",\n        \"version\": \"5.3.1\",\n        \"status\": \"vulnerable\",\n        \"files\": 2,\n        \"holes\": [\n          {\n            \"cve\": \"CVE-2020-35489\",\n            \"type\": \"Upload\",\n            \"description\": \"Unrestricted file upload vulnerability\"\n          }\n        ]\n      }\n    ],\n    \"wordpressPlugin\": {\n      \"serverEnabled\": true,\n      \"status\": \"adding\",\n      \"firewall\": true,\n      \"aiBotProtection\": true,\n      \"preset\": \"balanced\"\n    },\n    \"incidents\": [\n      {\n        \"id\": \"1\",\n        \"occurredAt\": \"2026-11-25T09:10:02.000Z\",\n        \"ip\": \"45.146.165.10\",\n        \"country\": \"DE\",\n        \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"domain\": \"shop.example.com\",\n        \"kind\": \"waf\",\n        \"description\": \"Information disclosure attempt via WordPress plugins\",\n        \"ruleId\": \"77350218\",\n        \"severity\": \"high\",\n        \"action\": \"challenged\",\n        \"times\": 12,\n        \"wordpress\": null\n      }\n    ],\n    \"disabledRules\": [\n      {\n        \"ruleId\": \"77350218\",\n        \"name\": \"Turned off for the shop's page builder\",\n        \"source\": \"waf\",\n        \"siteIds\": [\n          \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\"\n        ],\n        \"domains\": [\n          \"shop.example.com\"\n        ]\n      }\n    ]\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Resources",
      "description": "The CPU, memory, processes and PHP settings a site may use.",
      "item": [
        {
          "name": "Get a site's resources",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/resources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "resources"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns how much of its server the site may use: its CPU, memory and process limits, its CPU priority and its PHP settings (`settings`), whether they're in place on the server (`status`), what the server has (`server`), and the server's other sites with limits of their own (`otherSites`). `blockedReason` says when the site can't have settings of its own."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/resources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "resources"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns how much of its server the site may use: its CPU, memory and process limits, its CPU priority and its PHP settings (`settings`), whether they're in place on the server (`status`), what the server has (`server`), and the server's other sites with limits of their own (`otherSites`). `blockedReason` says when the site can't have settings of its own."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"applied\",\n    \"lastError\": null,\n    \"blockedReason\": null,\n    \"settings\": {\n      \"cpuPercent\": 50,\n      \"memoryMb\": 1024,\n      \"processes\": null,\n      \"priority\": \"normal\",\n      \"workers\": 8,\n      \"phpMemoryMb\": 512,\n      \"timeLimit\": null,\n      \"uploadMb\": 128,\n      \"inputVars\": null\n    },\n    \"server\": {\n      \"vcpus\": 2,\n      \"memoryMb\": 4096,\n      \"maxMemoryMb\": 3840,\n      \"autoWorkers\": 24\n    },\n    \"applied\": {\n      \"mode\": \"isolated\",\n      \"workers\": 8\n    },\n    \"otherSites\": [\n      {\n        \"siteId\": \"9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e\",\n        \"name\": \"Blog\",\n        \"cpuPercent\": 25,\n        \"memoryMb\": null,\n        \"processes\": null,\n        \"priority\": \"low\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Set a site's resources",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/resources",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "resources"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Sets every one of the site's resource settings at once: a setting left out (or null) goes back to its default, so send `{}` to remove them all. A CPU, memory or process limit, or a priority other than `normal`, gives the site a PHP of its own, which holds it to them; the PHP settings apply either way.\n\n**What happens next.** The answer is `202` with the settings and `status: \"applying\"`: the site's server applies them shortly, then `status` is `applied`. If the server can't apply them, `status` is `failed` and the site keeps its previous settings.\n\n**Limits.** The memory limit is at most the server's `maxMemoryMb`, and at least room for one request (`phpMemoryMb` + 128 MB); the process limit leaves room for the PHP workers and scheduled tasks. The site must be live, its server running, and not a staging copy (`409 site_unavailable` says why). Up to 30 changes a minute. If per-site resources are no longer open to your account, a site's settings can still be removed (`{}`); anything else answers `403 feature_unavailable`.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cpuPercent\": 50,\n  \"memoryMb\": 1024,\n  \"workers\": 8,\n  \"phpMemoryMb\": 512,\n  \"uploadMb\": 128\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/resources",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "resources"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Sets every one of the site's resource settings at once: a setting left out (or null) goes back to its default, so send `{}` to remove them all. A CPU, memory or process limit, or a priority other than `normal`, gives the site a PHP of its own, which holds it to them; the PHP settings apply either way.\n\n**What happens next.** The answer is `202` with the settings and `status: \"applying\"`: the site's server applies them shortly, then `status` is `applied`. If the server can't apply them, `status` is `failed` and the site keeps its previous settings.\n\n**Limits.** The memory limit is at most the server's `maxMemoryMb`, and at least room for one request (`phpMemoryMb` + 128 MB); the process limit leaves room for the PHP workers and scheduled tasks. The site must be live, its server running, and not a staging copy (`409 site_unavailable` says why). Up to 30 changes a minute. If per-site resources are no longer open to your account, a site's settings can still be removed (`{}`); anything else answers `403 feature_unavailable`.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"cpuPercent\": 50,\n  \"memoryMb\": 1024,\n  \"workers\": 8,\n  \"phpMemoryMb\": 512,\n  \"uploadMb\": 128\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"applying\",\n    \"lastError\": null,\n    \"blockedReason\": null,\n    \"settings\": {\n      \"cpuPercent\": 50,\n      \"memoryMb\": 1024,\n      \"processes\": null,\n      \"priority\": \"normal\",\n      \"workers\": 8,\n      \"phpMemoryMb\": 512,\n      \"timeLimit\": null,\n      \"uploadMb\": 128,\n      \"inputVars\": null\n    },\n    \"server\": {\n      \"vcpus\": 2,\n      \"memoryMb\": 4096,\n      \"maxMemoryMb\": 3840,\n      \"autoWorkers\": 24\n    },\n    \"applied\": {\n      \"mode\": \"isolated\",\n      \"workers\": 8\n    },\n    \"otherSites\": [\n      {\n        \"siteId\": \"9b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e\",\n        \"name\": \"Blog\",\n        \"cpuPercent\": 25,\n        \"memoryMb\": null,\n        \"processes\": null,\n        \"priority\": \"low\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Get what a site uses of its server now",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/resources/usage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "resources",
                "usage"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Measures what the site uses of its server right now, over one second: processor, memory and processes (its PHP and scheduled tasks; database work is shared by all sites and isn't counted). It's read from the site's server, so it takes a second or two; a reading is kept 4 seconds. Live sites with the standard setup only (`409 site_unavailable` otherwise)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/resources/usage",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "resources",
                    "usage"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Measures what the site uses of its server right now, over one second: processor, memory and processes (its PHP and scheduled tasks; database work is shared by all sites and isn't counted). It's read from the site's server, so it takes a second or two; a reading is kept 4 seconds. Live sites with the standard setup only (`409 site_unavailable` otherwise)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"mode\": \"isolated\",\n    \"cpuPercent\": 12.5,\n    \"memoryMb\": 386,\n    \"processes\": 9,\n    \"measuredAt\": \"2026-11-19T10:02:44.000Z\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Cron jobs",
      "description": "Scheduled tasks on a site.",
      "item": [
        {
          "name": "List a site's cron jobs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs?enabled=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "description": "Only jobs of this type.",
                  "disabled": true
                },
                {
                  "key": "enabled",
                  "value": "true",
                  "description": "`true`: only jobs that run on their schedule. `false`: only paused ones."
                }
              ]
            },
            "description": "Lists the site's cron jobs, oldest first (the order the panel shows), with what each runs and when. Whether each is running now, and how its latest run went, comes from `GET /sites/{siteId}/cron-status`; its runs, with their output, from `GET /sites/{siteId}/cron-jobs/{jobId}/runs`. A job's command or address can hold a password or a key, so every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs?enabled=true",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "type",
                      "value": "",
                      "description": "Only jobs of this type.",
                      "disabled": true
                    },
                    {
                      "key": "enabled",
                      "value": "true",
                      "description": "`true`: only jobs that run on their schedule. `false`: only paused ones."
                    }
                  ]
                },
                "description": "Lists the site's cron jobs, oldest first (the order the panel shows), with what each runs and when. Whether each is running now, and how its latest run went, comes from `GET /sites/{siteId}/cron-status`; its runs, with their output, from `GET /sites/{siteId}/cron-jobs/{jobId}/runs`. A job's command or address can hold a password or a key, so every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n      \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Nightly clean-up\",\n      \"type\": \"wp_cli\",\n      \"target\": \"transient delete --expired\",\n      \"schedule\": \"0 3 * * *\",\n      \"timeoutSeconds\": 900,\n      \"enabled\": true,\n      \"createdAt\": \"2026-11-02T09:14:05.000Z\",\n      \"updatedAt\": \"2026-11-02T09:14:05.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a cron job to a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Adds a scheduled task to the site: a WP-CLI command, a PHP script of the site, a call to an address, or a shell command, run on a cron schedule in UTC. It runs on the site's server as the site's own user, in the site's folder, and is stopped when it takes longer than `timeoutSeconds`. A run is skipped while the job's previous run is still going.\n\n**Limits.** Up to 25 jobs per site (`409 limit_reached`). The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Nightly clean-up\",\n  \"type\": \"wp_cli\",\n  \"target\": \"transient delete --expired\",\n  \"schedule\": \"0 3 * * *\",\n  \"timeoutSeconds\": 900\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Adds a scheduled task to the site: a WP-CLI command, a PHP script of the site, a call to an address, or a shell command, run on a cron schedule in UTC. It runs on the site's server as the site's own user, in the site's folder, and is stopped when it takes longer than `timeoutSeconds`. A run is skipped while the job's previous run is still going.\n\n**Limits.** Up to 25 jobs per site (`409 limit_reached`). The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Nightly clean-up\",\n  \"type\": \"wp_cli\",\n  \"target\": \"transient delete --expired\",\n  \"schedule\": \"0 3 * * *\",\n  \"timeoutSeconds\": 900\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Nightly clean-up\",\n    \"type\": \"wp_cli\",\n    \"target\": \"transient delete --expired\",\n    \"schedule\": \"0 3 * * *\",\n    \"timeoutSeconds\": 900,\n    \"enabled\": true,\n    \"createdAt\": \"2026-11-02T09:14:05.000Z\",\n    \"updatedAt\": \"2026-11-02T09:14:05.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a cron job",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ]
            },
            "description": "Replaces every setting of the job: send them all, as for adding one, with `timeoutSeconds` and `enabled` too (a paused job stays paused only with `enabled: false`). The same settings again are fine: the job is answered as it is.\n\nThe site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Nightly clean-up\",\n  \"type\": \"wp_cli\",\n  \"target\": \"transient delete --expired\",\n  \"schedule\": \"30 2 * * *\",\n  \"timeoutSeconds\": 900,\n  \"enabled\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs",
                    ":jobId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "jobId",
                      "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                      "description": "The cron job's id."
                    }
                  ]
                },
                "description": "Replaces every setting of the job: send them all, as for adding one, with `timeoutSeconds` and `enabled` too (a paused job stays paused only with `enabled: false`). The same settings again are fine: the job is answered as it is.\n\nThe site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Nightly clean-up\",\n  \"type\": \"wp_cli\",\n  \"target\": \"transient delete --expired\",\n  \"schedule\": \"30 2 * * *\",\n  \"timeoutSeconds\": 900,\n  \"enabled\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Nightly clean-up\",\n    \"type\": \"wp_cli\",\n    \"target\": \"transient delete --expired\",\n    \"schedule\": \"30 2 * * *\",\n    \"timeoutSeconds\": 900,\n    \"enabled\": true,\n    \"createdAt\": \"2026-11-02T09:14:05.000Z\",\n    \"updatedAt\": \"2026-11-19T10:40:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Resume a paused cron job",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ]
            },
            "description": "Puts the job back on its schedule. A job that already runs on its schedule is answered as it is. The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs",
                    ":jobId",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "jobId",
                      "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                      "description": "The cron job's id."
                    }
                  ]
                },
                "description": "Puts the job back on its schedule. A job that already runs on its schedule is answered as it is. The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Nightly clean-up\",\n    \"type\": \"wp_cli\",\n    \"target\": \"transient delete --expired\",\n    \"schedule\": \"0 3 * * *\",\n    \"timeoutSeconds\": 900,\n    \"enabled\": true,\n    \"createdAt\": \"2026-11-02T09:14:05.000Z\",\n    \"updatedAt\": \"2026-11-02T09:14:05.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Pause a cron job",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ]
            },
            "description": "Takes the job off its schedule; it keeps its settings and runs, and can still be run by hand. A run under way isn't stopped. A paused job is answered as it is. The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs",
                    ":jobId",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "jobId",
                      "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                      "description": "The cron job's id."
                    }
                  ]
                },
                "description": "Takes the job off its schedule; it keeps its settings and runs, and can still be run by hand. A run under way isn't stopped. A paused job is answered as it is. The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n    \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n    \"name\": \"Nightly clean-up\",\n    \"type\": \"wp_cli\",\n    \"target\": \"transient delete --expired\",\n    \"schedule\": \"0 3 * * *\",\n    \"timeoutSeconds\": 900,\n    \"enabled\": false,\n    \"createdAt\": \"2026-11-02T09:14:05.000Z\",\n    \"updatedAt\": \"2026-11-19T10:40:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a cron job",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ]
            },
            "description": "Deletes the job and its runs. A run under way isn't stopped. The site must have finished installing and its server be running (`409 site_unavailable`, `409 server_unavailable`). The schedule on the server changes in the same step: when the server can't be reached (`502 server_unreachable`), nothing is changed."
          },
          "response": []
        },
        {
          "name": "Run a cron job now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/run",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId",
                "actions",
                "run"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ]
            },
            "description": "Starts a run of the job at once, besides its schedule (a paused job too). The answer is `202` while the run goes on (`running: true`), or `200` when it already ended; either way it's the first of the job's runs (`GET /sites/{siteId}/cron-jobs/{jobId}/runs`), with `trigger: \"manual\"`.\n\nOne run of a job at a time: while one runs, from its schedule or by hand, this answers `409 already_running`. The site must have finished installing and its server be running."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/actions/run",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs",
                    ":jobId",
                    "actions",
                    "run"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "jobId",
                      "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                      "description": "The cron job's id."
                    }
                  ]
                },
                "description": "Starts a run of the job at once, besides its schedule (a paused job too). The answer is `202` while the run goes on (`running: true`), or `200` when it already ended; either way it's the first of the job's runs (`GET /sites/{siteId}/cron-jobs/{jobId}/runs`), with `trigger: \"manual\"`.\n\nOne run of a job at a time: while one runs, from its schedule or by hand, this answers `409 already_running`. The site must have finished installing and its server be running."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"running\": true\n  }\n}"
            }
          ]
        },
        {
          "name": "List a cron job's runs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/runs?status=success",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-jobs",
                ":jobId",
                "runs"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "jobId",
                  "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                  "description": "The cron job's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "success",
                  "description": "Only runs that ended this way."
                },
                {
                  "key": "trigger",
                  "value": "",
                  "description": "Only runs started this way.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the job's last 20 runs, newest first, each with what it printed (the end of it, for long output). Skips in a row for the same reason are folded into one entry (`repeats`). They're read from the site's server, so it must be running. What a job prints can hold a password or a key, so every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-jobs/:jobId/runs?status=success",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-jobs",
                    ":jobId",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "jobId",
                      "value": "4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
                      "description": "The cron job's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "success",
                      "description": "Only runs that ended this way."
                    },
                    {
                      "key": "trigger",
                      "value": "",
                      "description": "Only runs started this way.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the job's last 20 runs, newest first, each with what it printed (the end of it, for long output). Skips in a row for the same reason are folded into one entry (`repeats`). They're read from the site's server, so it must be running. What a job prints can hold a password or a key, so every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"1795057200000-48213\",\n      \"startedAt\": \"2026-11-19T03:00:00.000Z\",\n      \"finishedAt\": \"2026-11-19T03:00:02.000Z\",\n      \"durationMs\": 2140,\n      \"exitCode\": 0,\n      \"status\": \"success\",\n      \"trigger\": \"schedule\",\n      \"reason\": null,\n      \"outputBytes\": 40,\n      \"truncated\": false,\n      \"repeats\": 1,\n      \"output\": \"Success: 14 expired transients deleted.\\n\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get which of a site's cron jobs are running",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/cron-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "cron-status"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Reads from the site's server which of its cron jobs are running now, and how each one's latest run went (without its output), with the server's time. Poll it to follow a run started with `POST …/actions/run`. The site must have finished installing and its server be running."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/cron-status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "cron-status"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Reads from the site's server which of its cron jobs are running now, and how each one's latest run went (without its output), with the server's time. Poll it to follow a run started with `POST …/actions/run`. The site must have finished installing and its server be running."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"checkedAt\": \"2026-11-19T10:42:17.000Z\",\n    \"jobs\": [\n      {\n        \"jobId\": \"4c1d2e3f-5a6b-4c7d-8e9f-0a1b2c3d4e5f\",\n        \"running\": false,\n        \"lastRun\": {\n          \"id\": \"1795057200000-48213\",\n          \"startedAt\": \"2026-11-19T03:00:00.000Z\",\n          \"finishedAt\": \"2026-11-19T03:00:02.000Z\",\n          \"durationMs\": 2140,\n          \"exitCode\": 0,\n          \"status\": \"success\",\n          \"trigger\": \"schedule\",\n          \"reason\": null,\n          \"outputBytes\": 40,\n          \"truncated\": false,\n          \"repeats\": 1\n        }\n      }\n    ]\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Files",
      "description": "A site's files: list, read, write, upload and download.",
      "item": [
        {
          "name": "List a folder of a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files?path=%2Fwp-content",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "path",
                  "value": "/wp-content",
                  "description": "The folder's path in the site. Left out: the site's own folder (`/`)."
                }
              ]
            },
            "description": "Lists what a folder of the site holds, in one answer: folders first, then files, each by name, as the panel's File Manager shows them. A folder of more than 5,000 entries lists 5,000 of them, with `truncated: true`: list the folders inside it instead.\n\nPaths are the site's own: they start with `/` at the site's folder (where wp-config.php is), and nothing outside it can be reached. A path with `.` or `..` parts, a backslash, a control character or a percent-encoded `/` or `.` is refused before anything runs."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files?path=%2Fwp-content",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "path",
                      "value": "/wp-content",
                      "description": "The folder's path in the site. Left out: the site's own folder (`/`)."
                    }
                  ]
                },
                "description": "Lists what a folder of the site holds, in one answer: folders first, then files, each by name, as the panel's File Manager shows them. A folder of more than 5,000 entries lists 5,000 of them, with `truncated: true`: list the folders inside it instead.\n\nPaths are the site's own: they start with `/` at the site's folder (where wp-config.php is), and nothing outside it can be reached. A path with `.` or `..` parts, a backslash, a control character or a percent-encoded `/` or `.` is refused before anything runs."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"path\": \"/wp-content\",\n    \"entries\": [\n      {\n        \"name\": \"plugins\",\n        \"path\": \"/wp-content/plugins\",\n        \"type\": \"dir\",\n        \"sizeBytes\": 4096,\n        \"modifiedAt\": \"2026-11-12T08:03:19.000Z\",\n        \"mode\": \"755\",\n        \"version\": \"1794470599000000000:4096\",\n        \"linkTargetType\": null\n      },\n      {\n        \"name\": \"themes\",\n        \"path\": \"/wp-content/themes\",\n        \"type\": \"dir\",\n        \"sizeBytes\": 4096,\n        \"modifiedAt\": \"2026-10-30T14:41:02.000Z\",\n        \"mode\": \"755\",\n        \"version\": \"1793371262000000000:4096\",\n        \"linkTargetType\": null\n      },\n      {\n        \"name\": \"uploads\",\n        \"path\": \"/wp-content/uploads\",\n        \"type\": \"dir\",\n        \"sizeBytes\": 4096,\n        \"modifiedAt\": \"2026-11-18T16:20:45.000Z\",\n        \"mode\": \"755\",\n        \"version\": \"1795018845000000000:4096\",\n        \"linkTargetType\": null\n      },\n      {\n        \"name\": \"index.php\",\n        \"path\": \"/wp-content/index.php\",\n        \"type\": \"file\",\n        \"sizeBytes\": 28,\n        \"modifiedAt\": \"2026-09-14T10:00:00.000Z\",\n        \"mode\": \"644\",\n        \"version\": \"1789380000000000000:28\",\n        \"linkTargetType\": null\n      }\n    ],\n    \"truncated\": false\n  }\n}"
            }
          ]
        },
        {
          "name": "Read a text file of a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/content?path=%2Frobots.txt",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "content"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "path",
                  "value": "/robots.txt",
                  "description": "The file's path in the site, like `/robots.txt`."
                }
              ]
            },
            "description": "Answers a text file's content (UTF-8, up to 2 MB) with its `version`: send that as `expectedVersion` when writing the file back, so a change made in the meantime isn't overwritten. Larger files (`413 too_large`) and files that aren't text (`415 binary`) are downloaded instead.\n\nFiles can hold secrets (wp-config.php holds the database password), so every read is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/content?path=%2Frobots.txt",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "content"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "path",
                      "value": "/robots.txt",
                      "description": "The file's path in the site, like `/robots.txt`."
                    }
                  ]
                },
                "description": "Answers a text file's content (UTF-8, up to 2 MB) with its `version`: send that as `expectedVersion` when writing the file back, so a change made in the meantime isn't overwritten. Larger files (`413 too_large`) and files that aren't text (`415 binary`) are downloaded instead.\n\nFiles can hold secrets (wp-config.php holds the database password), so every read is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"path\": \"/robots.txt\",\n    \"content\": \"User-agent: *\\nDisallow: /wp-admin/\\nAllow: /wp-admin/admin-ajax.php\\n\",\n    \"version\": \"1795017600000000000:67\",\n    \"sizeBytes\": 67,\n    \"modifiedAt\": \"2026-11-18T08:00:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Write a text file of a site",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/content",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "content"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Writes a text file's whole content, making the file when it isn't there (its folder must exist). It's written in one step: readers see the old file or the new one, never half of it.\n\n**Safe saves.** With `expectedVersion` (the `version` a read answered), nothing is written if the file changed since (`409 conflict`); `new` writes only a file that isn't there yet. **PHP files** are checked first: a syntax error isn't saved (`422 lint_error`, with PHP's words) unless `force` is true.\n\nThe body is at most 1 MB; upload larger files. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`). The site's CDN forgets its old copy of the file.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"/robots.txt\",\n  \"content\": \"User-agent: *\\nDisallow: /wp-admin/\\nAllow: /wp-admin/admin-ajax.php\\n\",\n  \"expectedVersion\": \"1795017600000000000:67\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/content",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "content"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Writes a text file's whole content, making the file when it isn't there (its folder must exist). It's written in one step: readers see the old file or the new one, never half of it.\n\n**Safe saves.** With `expectedVersion` (the `version` a read answered), nothing is written if the file changed since (`409 conflict`); `new` writes only a file that isn't there yet. **PHP files** are checked first: a syntax error isn't saved (`422 lint_error`, with PHP's words) unless `force` is true.\n\nThe body is at most 1 MB; upload larger files. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`). The site's CDN forgets its old copy of the file.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"/robots.txt\",\n  \"content\": \"User-agent: *\\nDisallow: /wp-admin/\\nAllow: /wp-admin/admin-ajax.php\\n\",\n  \"expectedVersion\": \"1795017600000000000:67\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"robots.txt\",\n    \"path\": \"/robots.txt\",\n    \"type\": \"file\",\n    \"sizeBytes\": 67,\n    \"modifiedAt\": \"2026-11-19T10:26:40.000Z\",\n    \"mode\": \"644\",\n    \"version\": \"1795060000000000000:67\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Make a folder in a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/create-folder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "create-folder"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Makes a folder, and the folders on its path that aren't there yet. Refused when something with that name is there (`409 exists`). `Location` is the new folder's listing. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"/wp-content/uploads/reports\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/create-folder",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "create-folder"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Makes a folder, and the folders on its path that aren't there yet. Refused when something with that name is there (`409 exists`). `Location` is the new folder's listing. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"/wp-content/uploads/reports\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"reports\",\n    \"path\": \"/wp-content/uploads/reports\",\n    \"type\": \"dir\",\n    \"sizeBytes\": 4096,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"755\",\n    \"version\": \"1795060000000000000:4096\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Make an empty file in a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/create-file",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "create-file"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Makes an empty file (its folder must exist), to write with `PUT /sites/{siteId}/files/content`. Refused when something with that name is there (`409 exists`). `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"/wp-content/uploads/reports/notes.txt\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/create-file",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "create-file"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Makes an empty file (its folder must exist), to write with `PUT /sites/{siteId}/files/content`. Refused when something with that name is there (`409 exists`). `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"/wp-content/uploads/reports/notes.txt\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"notes.txt\",\n    \"path\": \"/wp-content/uploads/reports/notes.txt\",\n    \"type\": \"file\",\n    \"sizeBytes\": 0,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"644\",\n    \"version\": \"1795060000000000000:0\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Move or rename a file or folder",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/move",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "move"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Moves a file or folder to another path, or renames it in its folder (`to` names the new path, name included; its folder must exist). A file already at `to` is replaced only with `overwrite: true`; a folder never is. The site's folder itself can't be moved (`403 protected`). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"from\": \"/wp-content/uploads/old-logo.png\",\n  \"to\": \"/wp-content/uploads/2026/11/logo.png\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/move",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "move"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Moves a file or folder to another path, or renames it in its folder (`to` names the new path, name included; its folder must exist). A file already at `to` is replaced only with `overwrite: true`; a folder never is. The site's folder itself can't be moved (`403 protected`). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"from\": \"/wp-content/uploads/old-logo.png\",\n  \"to\": \"/wp-content/uploads/2026/11/logo.png\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"logo.png\",\n    \"path\": \"/wp-content/uploads/2026/11/logo.png\",\n    \"type\": \"file\",\n    \"sizeBytes\": 18342,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"644\",\n    \"version\": \"1795025645512000000:18342\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Copy a file or folder",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/copy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "copy"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Copies a file, or a folder with everything in it, to another path (name included; its folder must exist). A file already at `to` is replaced only with `overwrite: true`; a folder never is. A large folder can take minutes. `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"from\": \"/wp-content/themes/bakery\",\n  \"to\": \"/wp-content/themes/bakery-backup\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/copy",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "copy"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Copies a file, or a folder with everything in it, to another path (name included; its folder must exist). A file already at `to` is replaced only with `overwrite: true`; a folder never is. A large folder can take minutes. `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"from\": \"/wp-content/themes/bakery\",\n  \"to\": \"/wp-content/themes/bakery-backup\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"bakery-backup\",\n    \"path\": \"/wp-content/themes/bakery-backup\",\n    \"type\": \"dir\",\n    \"sizeBytes\": 4096,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"755\",\n    \"version\": \"1795060000000000000:4096\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete files and folders of a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/delete",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "delete"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Deletes up to 500 files and folders, each folder with everything in it, in the order given. It can't be undone. A path that isn't there stops the delete with `404 not_found` naming it, after the paths before it were deleted: after a failure, list the folder to see what's left.\n\nThe site's folder itself can't be deleted (`403 protected`). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"paths\": [\n    \"/wp-content/uploads/old-logo.png\",\n    \"/wp-content/upgrade\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/delete",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "delete"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Deletes up to 500 files and folders, each folder with everything in it, in the order given. It can't be undone. A path that isn't there stops the delete with `404 not_found` naming it, after the paths before it were deleted: after a failure, list the folder to see what's left.\n\nThe site's folder itself can't be deleted (`403 protected`). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"paths\": [\n    \"/wp-content/uploads/old-logo.png\",\n    \"/wp-content/upgrade\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"deleted\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a file's or folder's permissions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/chmod",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "chmod"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Sets a file's or folder's permissions (not of what a folder holds). The permissions it already has are fine: it's answered as it is. Only what the site's own user owns can be changed. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"/wp-config.php\",\n  \"mode\": \"600\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/chmod",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "chmod"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Sets a file's or folder's permissions (not of what a folder holds). The permissions it already has are fine: it's answered as it is. Only what the site's own user owns can be changed. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"/wp-config.php\",\n  \"mode\": \"600\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"wp-config.php\",\n    \"path\": \"/wp-config.php\",\n    \"type\": \"file\",\n    \"sizeBytes\": 3210,\n    \"modifiedAt\": \"2026-09-14T10:00:00.000Z\",\n    \"mode\": \"600\",\n    \"version\": \"1789380000000000000:3210\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Extract a .zip archive in a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/extract",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "extract"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Extracts a .zip archive of the site into a folder of it (the folder must exist); files already there with the same names are replaced. Links in the archive are left out, and an archive with a path leading outside the folder is refused (`422 unsafe_archive`).\n\nAt most 60,000 files and 4 GB once extracted (`413 too_large`); a large archive can take minutes. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"path\": \"/wp-content/uploads/theme.zip\",\n  \"destination\": \"/wp-content/themes\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/extract",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "extract"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Extracts a .zip archive of the site into a folder of it (the folder must exist); files already there with the same names are replaced. Links in the archive are left out, and an archive with a path leading outside the folder is refused (`422 unsafe_archive`).\n\nAt most 60,000 files and 4 GB once extracted (`413 too_large`); a large archive can take minutes. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"path\": \"/wp-content/uploads/theme.zip\",\n  \"destination\": \"/wp-content/themes\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"extractedFiles\": 184,\n    \"extractedBytes\": 5242880\n  }\n}"
            }
          ]
        },
        {
          "name": "Make a .zip archive in a site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/actions/compress",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "actions",
                "compress"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Puts files and folders of the site (each folder with everything in it; links left out) into a new .zip archive in the site. Nothing may be at `destination` yet (`409 exists`). A large folder can take minutes. `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"paths\": [\n    \"/wp-content/themes/bakery\"\n  ],\n  \"destination\": \"/wp-content/uploads/bakery-theme.zip\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/actions/compress",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "actions",
                    "compress"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Puts files and folders of the site (each folder with everything in it; links left out) into a new .zip archive in the site. Nothing may be at `destination` yet (`409 exists`). A large folder can take minutes. `Location` is the new file's download address (a folder's: its listing). Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"paths\": [\n    \"/wp-content/themes/bakery\"\n  ],\n  \"destination\": \"/wp-content/uploads/bakery-theme.zip\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"bakery-theme.zip\",\n    \"path\": \"/wp-content/uploads/bakery-theme.zip\",\n    \"type\": \"file\",\n    \"sizeBytes\": 1832204,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"644\",\n    \"version\": \"1795060000000000000:1832204\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Upload a file to a site",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/octet-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/upload?path=%2Fwp-content%2Fuploads%2F2026%2F11%2Fteam-photo.jpg&overwrite=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "upload"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "path",
                  "value": "/wp-content/uploads/2026/11/team-photo.jpg",
                  "description": "The file's path in the site, name included, like `/wp-content/uploads/2026/11/report.pdf`."
                },
                {
                  "key": "overwrite",
                  "value": "true",
                  "description": "`true`: replace a file already at `path` (never a folder). Left out or `false`: refused if something is there (`409 exists`)."
                }
              ]
            },
            "description": "Uploads a file to the site: send its bytes as the body, with `Content-Type: application/octet-stream` and its size in `Content-Length` (`400 length_required` without it). The bytes are passed on to the site's server as they arrive, and the file appears whole once they all have: an upload cut short leaves nothing behind (`422 incomplete`).\n\nUp to the File Manager's upload limit of 100 MB (`413 payload_too_large`). A file already at `path` is replaced only with `overwrite=true`. The folder must exist. `Location` is the file's download address. An `Idempotency-Key` is accepted, but an upload's answer isn't kept: a key can be sent again once its upload has finished. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).\n\n**Time.** The whole upload must arrive within 5 minutes of the request's start: a slower one is cut off (the connection is closed, often with a plain `408` that isn't JSON), and nothing is kept. A 100 MB file needs about 350 KB a second.",
            "body": {
              "mode": "file",
              "file": {}
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/octet-stream"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/files/upload?path=%2Fwp-content%2Fuploads%2F2026%2F11%2Fteam-photo.jpg&overwrite=true",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "files",
                    "upload"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "path",
                      "value": "/wp-content/uploads/2026/11/team-photo.jpg",
                      "description": "The file's path in the site, name included, like `/wp-content/uploads/2026/11/report.pdf`."
                    },
                    {
                      "key": "overwrite",
                      "value": "true",
                      "description": "`true`: replace a file already at `path` (never a folder). Left out or `false`: refused if something is there (`409 exists`)."
                    }
                  ]
                },
                "description": "Uploads a file to the site: send its bytes as the body, with `Content-Type: application/octet-stream` and its size in `Content-Length` (`400 length_required` without it). The bytes are passed on to the site's server as they arrive, and the file appears whole once they all have: an upload cut short leaves nothing behind (`422 incomplete`).\n\nUp to the File Manager's upload limit of 100 MB (`413 payload_too_large`). A file already at `path` is replaced only with `overwrite=true`. The folder must exist. `Location` is the file's download address. An `Idempotency-Key` is accepted, but an upload's answer isn't kept: a key can be sent again once its upload has finished. Not while a staging operation copies, pushes or puts back the site (`409 staging_busy`).\n\n**Time.** The whole upload must arrive within 5 minutes of the request's start: a slower one is cut off (the connection is closed, often with a plain `408` that isn't JSON), and nothing is kept. A 100 MB file needs about 350 KB a second.",
                "body": {
                  "mode": "file",
                  "file": {}
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"team-photo.jpg\",\n    \"path\": \"/wp-content/uploads/2026/11/team-photo.jpg\",\n    \"type\": \"file\",\n    \"sizeBytes\": 284113,\n    \"modifiedAt\": \"2026-11-18T16:20:45.512Z\",\n    \"mode\": \"644\",\n    \"version\": \"1795025645512000000:284113\",\n    \"linkTargetType\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Download a file or folder of a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/files/download?path=%2Fwp-content%2Fuploads%2F2026%2F11%2Fteam-photo.jpg",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "files",
                "download"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "path",
                  "value": "/wp-content/uploads/2026/11/team-photo.jpg",
                  "description": "The file's or folder's path in the site. `/` downloads the whole site's folder."
                }
              ]
            },
            "description": "Downloads a file as it is (`Content-Type: application/octet-stream`, with its `Content-Length`), or a folder with everything in it as a .zip archive (`application/zip`, made as it's sent, so without a length), as an attachment named after it. The bytes are passed on from the site's server as they come, never held whole.\n\nFiles can hold secrets, so every download is written to the token's request log."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Backups",
      "description": "Site backups, restores, and where backups are stored.",
      "item": [
        {
          "name": "Get a site's backups",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backup"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns the site's backups at a glance: where they go and how often (`settings`: null while backups are off), what Rabbitflare Backup would cost the site in each region (`prices`), the newest backup (`latestBackup`) and the latest restore from the last 24 hours (`restore`). Every change of this group answers the same object; while a backup or a restore runs, read it again every few seconds to follow it.\n\nThe backups themselves are a list of their own: `GET /sites/{siteId}/backups`. These are backups of one site, its files and its database; whole-server snapshots are the server's (`GET /servers/{serverId}/snapshots`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backup",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backup"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns the site's backups at a glance: where they go and how often (`settings`: null while backups are off), what Rabbitflare Backup would cost the site in each region (`prices`), the newest backup (`latestBackup`) and the latest restore from the last 24 hours (`restore`). Every change of this group answers the same object; while a backup or a restore runs, read it again every few seconds to follow it.\n\nThe backups themselves are a list of their own: `GET /sites/{siteId}/backups`. These are backups of one site, its files and its database; whole-server snapshots are the server's (`GET /servers/{serverId}/snapshots`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"destination\": \"rabbitflare\",\n      \"region\": \"frankfurt\",\n      \"frequency\": \"daily\",\n      \"hour\": 3,\n      \"weekday\": 0,\n      \"keep\": 14,\n      \"paused\": false,\n      \"pausedReason\": null,\n      \"nextRunAt\": \"2026-11-20T03:00:00.000Z\"\n    },\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"status\": \"completed\",\n      \"trigger\": \"scheduled\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": 1284311552,\n      \"filesBytes\": 1201143808,\n      \"databaseBytes\": 83167744,\n      \"progress\": 1,\n      \"stage\": null,\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T03:00:04.000Z\",\n      \"finishedAt\": \"2026-11-19T03:06:41.000Z\",\n      \"canRestore\": true,\n      \"canDownload\": true\n    },\n    \"restore\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "List a site's backups",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups?status=completed",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "completed",
                  "description": "Only backups with this status."
                },
                {
                  "key": "trigger",
                  "value": "",
                  "description": "Only backups made this way.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the site's backups, newest first (its 60 newest): running, completed and failed ones, and ones being deleted. Filter by `status` and `trigger`.\n\nA completed backup can be restored (`POST /sites/{siteId}/backups/{backupId}/actions/restore`, where `canRestore`) and its parts downloaded (`GET /sites/{siteId}/backups/{backupId}/download`, where `canDownload`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backups?status=completed",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backups"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "completed",
                      "description": "Only backups with this status."
                    },
                    {
                      "key": "trigger",
                      "value": "",
                      "description": "Only backups made this way.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the site's backups, newest first (its 60 newest): running, completed and failed ones, and ones being deleted. Filter by `status` and `trigger`.\n\nA completed backup can be restored (`POST /sites/{siteId}/backups/{backupId}/actions/restore`, where `canRestore`) and its parts downloaded (`GET /sites/{siteId}/backups/{backupId}/download`, where `canDownload`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"status\": \"completed\",\n      \"trigger\": \"scheduled\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": 1284311552,\n      \"filesBytes\": 1201143808,\n      \"databaseBytes\": 83167744,\n      \"progress\": 1,\n      \"stage\": null,\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T03:00:04.000Z\",\n      \"finishedAt\": \"2026-11-19T03:06:41.000Z\",\n      \"canRestore\": true,\n      \"canDownload\": true\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Choose where and how often a site is backed up",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesBackupUpdateSettings\")) pm.collectionVariables.set(\"idempotencyKey_sitesBackupUpdateSettings\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesBackupUpdateSettings\");"
                ]
              }
            }
          ],
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesBackupUpdateSettings}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backup/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backup",
                "settings"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns the site's backups on, or changes them: where they go (`rabbitflare` and a region, or the id of your storage from `GET /backup-destinations`), how often (`daily` or `weekly` at an hour, UTC, or `manual`), and how many are kept. The settings are saved whole; sending the ones the site already has answers the object as it is. The answer is the object with the new `settings` and `nextRunAt`.\n\n**Payment.** Backups to storage of your own cost nothing. Rabbitflare Backup is billed by use, after each month: $2.00 a month for the site, counted by the days it's backed up there (no fee for sites on Amazon EC2 and Google Cloud servers), plus the space its backups take up, per GB per month at the region's price (`prices`). The month's bill is paid from the wallet first, then the account's saved card; a total under $0.50 is carried to the next month. Choosing Rabbitflare Backup needs a saved card (`402 payment_method_required`) and, when the site isn't on it already, the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). An `Idempotency-Key` header is required.\n\n**Scopes.** Settings whose `destination` is Rabbitflare Backup (turning it on, or changing its settings while the site is on it) can start a monthly charge, so they need `billing:write` as well as `sites:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`), and nothing changes. Storage of your own, moving away from Rabbitflare Backup and `removeStored` need `sites:write` only.\n\n**Moving away from Rabbitflare Backup.** The site's backups there stay (and their space stays billed) until they're deleted: send `removeStored: true` to delete them with the move, or delete them one by one. Only finished backups are deleted, so `removeStored: true` is refused while a backup to Rabbitflare Backup is running or waiting its turn (`409 conflict`): cancel it first (`POST /sites/{siteId}/backups/{backupId}/actions/cancel`), or wait for it to finish.\n\n**Limits.** Keep 1 to 60 backups. Only for a site that has finished installing, never a staging copy (`409 staging_copy`: back up its live site). Storage of your own must have been checked first (`status` not `pending`). 30 changes per site an hour.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"destination\": \"rabbitflare\",\n  \"region\": \"frankfurt\",\n  \"frequency\": \"daily\",\n  \"hour\": 3,\n  \"keep\": 14\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesBackupUpdateSettings}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backup/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backup",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns the site's backups on, or changes them: where they go (`rabbitflare` and a region, or the id of your storage from `GET /backup-destinations`), how often (`daily` or `weekly` at an hour, UTC, or `manual`), and how many are kept. The settings are saved whole; sending the ones the site already has answers the object as it is. The answer is the object with the new `settings` and `nextRunAt`.\n\n**Payment.** Backups to storage of your own cost nothing. Rabbitflare Backup is billed by use, after each month: $2.00 a month for the site, counted by the days it's backed up there (no fee for sites on Amazon EC2 and Google Cloud servers), plus the space its backups take up, per GB per month at the region's price (`prices`). The month's bill is paid from the wallet first, then the account's saved card; a total under $0.50 is carried to the next month. Choosing Rabbitflare Backup needs a saved card (`402 payment_method_required`) and, when the site isn't on it already, the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). An `Idempotency-Key` header is required.\n\n**Scopes.** Settings whose `destination` is Rabbitflare Backup (turning it on, or changing its settings while the site is on it) can start a monthly charge, so they need `billing:write` as well as `sites:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`), and nothing changes. Storage of your own, moving away from Rabbitflare Backup and `removeStored` need `sites:write` only.\n\n**Moving away from Rabbitflare Backup.** The site's backups there stay (and their space stays billed) until they're deleted: send `removeStored: true` to delete them with the move, or delete them one by one. Only finished backups are deleted, so `removeStored: true` is refused while a backup to Rabbitflare Backup is running or waiting its turn (`409 conflict`): cancel it first (`POST /sites/{siteId}/backups/{backupId}/actions/cancel`), or wait for it to finish.\n\n**Limits.** Keep 1 to 60 backups. Only for a site that has finished installing, never a staging copy (`409 staging_copy`: back up its live site). Storage of your own must have been checked first (`status` not `pending`). 30 changes per site an hour.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"destination\": \"rabbitflare\",\n  \"region\": \"frankfurt\",\n  \"frequency\": \"daily\",\n  \"hour\": 3,\n  \"keep\": 14\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"destination\": \"rabbitflare\",\n      \"region\": \"frankfurt\",\n      \"frequency\": \"daily\",\n      \"hour\": 3,\n      \"weekday\": 0,\n      \"keep\": 14,\n      \"paused\": false,\n      \"pausedReason\": null,\n      \"nextRunAt\": \"2026-11-20T03:00:00.000Z\"\n    },\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"status\": \"completed\",\n      \"trigger\": \"scheduled\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": 1284311552,\n      \"filesBytes\": 1201143808,\n      \"databaseBytes\": 83167744,\n      \"progress\": 1,\n      \"stage\": null,\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T03:00:04.000Z\",\n      \"finishedAt\": \"2026-11-19T03:06:41.000Z\",\n      \"canRestore\": true,\n      \"canDownload\": true\n    },\n    \"restore\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn a site's backups off",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backup/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backup",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Stops backing the site up: no more scheduled backups (`settings` becomes null). Its backups stay where they are, and can still be restored and downloaded, unless `removeStored: true`, which also deletes its backups in Rabbitflare Backup (their space is billed until they're deleted). Backups in storage of your own are never deleted this way. A backup already running finishes.\n\nOnly finished backups are deleted, so `removeStored: true` is refused while a backup to Rabbitflare Backup is running or waiting its turn (`409 conflict`): cancel it first (`POST /sites/{siteId}/backups/{backupId}/actions/cancel`), or wait for it to finish.\n\nThe answer is the object. Turning off backups that are already off answers it as it is.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"removeStored\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backup/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backup",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Stops backing the site up: no more scheduled backups (`settings` becomes null). Its backups stay where they are, and can still be restored and downloaded, unless `removeStored: true`, which also deletes its backups in Rabbitflare Backup (their space is billed until they're deleted). Backups in storage of your own are never deleted this way. A backup already running finishes.\n\nOnly finished backups are deleted, so `removeStored: true` is refused while a backup to Rabbitflare Backup is running or waiting its turn (`409 conflict`): cancel it first (`POST /sites/{siteId}/backups/{backupId}/actions/cancel`), or wait for it to finish.\n\nThe answer is the object. Turning off backups that are already off answers it as it is.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"removeStored\": false\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": null,\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"status\": \"completed\",\n      \"trigger\": \"scheduled\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": 1284311552,\n      \"filesBytes\": 1201143808,\n      \"databaseBytes\": 83167744,\n      \"progress\": 1,\n      \"stage\": null,\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T03:00:04.000Z\",\n      \"finishedAt\": \"2026-11-19T03:06:41.000Z\",\n      \"canRestore\": true,\n      \"canDownload\": true\n    },\n    \"restore\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Back a site up now",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Starts a backup of the site's files and database now, besides the scheduled ones, to where its backups go (`settings`). The answer is `202` with the object, the new backup in `latestBackup` (`running`); follow it on `GET /sites/{siteId}/backup` until it's `completed` or `failed`. A backup takes from a minute to an hour or more, by the site's size, and waits its turn while another backup or a staging operation runs on the server.\n\n**Limits.** Backups must be on for the site (`409 conflict` while `settings` is null: choose where they go first). One backup of a site at a time (`409 conflict`), at most 10 started this way per site in a day and 12 in an hour (`429 rate_limited`). The site must have finished installing and its server be running; not for a staging copy (`409 staging_copy`), nor while a staging operation runs on the site (`409 staging_busy`). While a Rabbitflare Backup bill has been unpaid for two weeks, new backups to Rabbitflare Backup wait for it (`402 payment_required`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backups",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backups"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Starts a backup of the site's files and database now, besides the scheduled ones, to where its backups go (`settings`). The answer is `202` with the object, the new backup in `latestBackup` (`running`); follow it on `GET /sites/{siteId}/backup` until it's `completed` or `failed`. A backup takes from a minute to an hour or more, by the site's size, and waits its turn while another backup or a staging operation runs on the server.\n\n**Limits.** Backups must be on for the site (`409 conflict` while `settings` is null: choose where they go first). One backup of a site at a time (`409 conflict`), at most 10 started this way per site in a day and 12 in an hour (`429 rate_limited`). The site must have finished installing and its server be running; not for a staging copy (`409 staging_copy`), nor while a staging operation runs on the site (`409 staging_busy`). While a Rabbitflare Backup bill has been unpaid for two weeks, new backups to Rabbitflare Backup wait for it (`402 payment_required`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"destination\": \"rabbitflare\",\n      \"region\": \"frankfurt\",\n      \"frequency\": \"daily\",\n      \"hour\": 3,\n      \"weekday\": 0,\n      \"keep\": 14,\n      \"paused\": false,\n      \"pausedReason\": null,\n      \"nextRunAt\": \"2026-11-20T03:00:00.000Z\"\n    },\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"6d7e8f9a-0b1c-4d2e-9f3a-4b5c6d7e8f90\",\n      \"status\": \"running\",\n      \"trigger\": \"manual\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": null,\n      \"filesBytes\": null,\n      \"databaseBytes\": null,\n      \"progress\": null,\n      \"stage\": \"Waiting to start\",\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T10:15:02.000Z\",\n      \"finishedAt\": null,\n      \"canRestore\": false,\n      \"canDownload\": false\n    },\n    \"restore\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Restore a site from a backup",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId/actions/restore",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups",
                ":backupId",
                "actions",
                "restore"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "backupId",
                  "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                  "description": "The backup's id, from the site's backups."
                }
              ]
            },
            "description": "Puts the site's files, its database, or both, back as they were in the backup. **What the site has now is replaced**, so by default the site is first backed up as it is (`backupFirst`), to where its backups go: restoring that backup undoes the restore.\n\nThe answer is `202` with the object, the restore in `restore` (`waiting`, then `running`); follow it on `GET /sites/{siteId}/backup` until it's `completed` or `failed`. While it runs the site's `pendingAction` is `restore`; afterwards the site's domains are applied to it again. A failed restore leaves the site as it was.\n\n**Limits.** Only a backup with `canRestore`, and only the parts it has. One restore of a site at a time, 10 an hour. The site and its server must be running, with nothing else under way on the site: another change (`409 conflict`), a staging operation (`409 staging_busy`) or a clone (`409 clone_busy`). Not for a staging copy (`409 staging_copy`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"parts\": \"all\",\n  \"backupFirst\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId/actions/restore",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backups",
                    ":backupId",
                    "actions",
                    "restore"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "backupId",
                      "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                      "description": "The backup's id, from the site's backups."
                    }
                  ]
                },
                "description": "Puts the site's files, its database, or both, back as they were in the backup. **What the site has now is replaced**, so by default the site is first backed up as it is (`backupFirst`), to where its backups go: restoring that backup undoes the restore.\n\nThe answer is `202` with the object, the restore in `restore` (`waiting`, then `running`); follow it on `GET /sites/{siteId}/backup` until it's `completed` or `failed`. While it runs the site's `pendingAction` is `restore`; afterwards the site's domains are applied to it again. A failed restore leaves the site as it was.\n\n**Limits.** Only a backup with `canRestore`, and only the parts it has. One restore of a site at a time, 10 an hour. The site and its server must be running, with nothing else under way on the site: another change (`409 conflict`), a staging operation (`409 staging_busy`) or a clone (`409 clone_busy`). Not for a staging copy (`409 staging_copy`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"parts\": \"all\",\n  \"backupFirst\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"destination\": \"rabbitflare\",\n      \"region\": \"frankfurt\",\n      \"frequency\": \"daily\",\n      \"hour\": 3,\n      \"weekday\": 0,\n      \"keep\": 14,\n      \"paused\": false,\n      \"pausedReason\": null,\n      \"nextRunAt\": \"2026-11-20T03:00:00.000Z\"\n    },\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"status\": \"completed\",\n      \"trigger\": \"scheduled\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": 1284311552,\n      \"filesBytes\": 1201143808,\n      \"databaseBytes\": 83167744,\n      \"progress\": 1,\n      \"stage\": null,\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T03:00:04.000Z\",\n      \"finishedAt\": \"2026-11-19T03:06:41.000Z\",\n      \"canRestore\": true,\n      \"canDownload\": true\n    },\n    \"restore\": {\n      \"id\": \"7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a01\",\n      \"backupId\": \"5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f\",\n      \"parts\": \"all\",\n      \"status\": \"waiting\",\n      \"stage\": \"Waiting to start\",\n      \"error\": null,\n      \"startedAt\": \"2026-11-19T10:20:11.000Z\",\n      \"finishedAt\": null\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Cancel a running backup",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId/actions/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups",
                ":backupId",
                "actions",
                "cancel"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "backupId",
                  "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                  "description": "The backup's id, from the site's backups."
                }
              ]
            },
            "description": "Stops a backup that's running or waiting its turn. One still waiting stops at once, as `failed` with `error` saying it was cancelled; one under way on the server stops within seconds. The answer is the object. A backup that isn't running can't be cancelled (`409 conflict`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId/actions/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "backups",
                    ":backupId",
                    "actions",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "backupId",
                      "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                      "description": "The backup's id, from the site's backups."
                    }
                  ]
                },
                "description": "Stops a backup that's running or waiting its turn. One still waiting stops at once, as `failed` with `error` saying it was cancelled; one under way on the server stops within seconds. The answer is the object. A backup that isn't running can't be cancelled (`409 conflict`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"settings\": {\n      \"destination\": \"rabbitflare\",\n      \"region\": \"frankfurt\",\n      \"frequency\": \"daily\",\n      \"hour\": 3,\n      \"weekday\": 0,\n      \"keep\": 14,\n      \"paused\": false,\n      \"pausedReason\": null,\n      \"nextRunAt\": \"2026-11-20T03:00:00.000Z\"\n    },\n    \"suggestedRegion\": \"frankfurt\",\n    \"prices\": [\n      {\n        \"region\": \"virginia\",\n        \"name\": \"United States (Virginia)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.6,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"frankfurt\",\n        \"name\": \"Europe (Frankfurt)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 4.9,\n        \"currency\": \"usd\"\n      },\n      {\n        \"region\": \"singapore\",\n        \"name\": \"Asia Pacific (Singapore)\",\n        \"siteFeeCents\": 200,\n        \"centsPerGbMonth\": 5,\n        \"currency\": \"usd\"\n      }\n    ],\n    \"hasCard\": true,\n    \"storedBytes\": 17953243136,\n    \"latestBackup\": {\n      \"id\": \"6d7e8f9a-0b1c-4d2e-9f3a-4b5c6d7e8f90\",\n      \"status\": \"failed\",\n      \"trigger\": \"manual\",\n      \"location\": \"Rabbitflare Backup (Europe (Frankfurt))\",\n      \"sizeBytes\": null,\n      \"filesBytes\": null,\n      \"databaseBytes\": null,\n      \"progress\": null,\n      \"stage\": null,\n      \"error\": \"The backup was cancelled.\",\n      \"startedAt\": \"2026-11-19T10:15:02.000Z\",\n      \"finishedAt\": \"2026-11-19T10:16:30.000Z\",\n      \"canRestore\": false,\n      \"canDownload\": false\n    },\n    \"restore\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a backup",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups",
                ":backupId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "backupId",
                  "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                  "description": "The backup's id, from the site's backups."
                }
              ]
            },
            "description": "Deletes the backup from where it's kept (Rabbitflare Backup, or your storage). It's listed as `deleting` until it's gone, then leaves the list; it can't be restored or downloaded any more. Not while it runs (cancel it first), nor while the site is being restored from it (`409 conflict`). The answer is `204`."
          },
          "response": []
        },
        {
          "name": "Download a backup's files or database",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/backups/:backupId/download?part=database",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "backups",
                ":backupId",
                "download"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "backupId",
                  "value": "5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f",
                  "description": "The backup's id, from the site's backups."
                }
              ],
              "query": [
                {
                  "key": "part",
                  "value": "database",
                  "description": "The part to download: `files` (a .tar.gz archive) or `database` (a gzipped SQL dump)."
                }
              ]
            },
            "description": "Sends one part of a completed backup as a file: `part=files`, the site's files (a .tar.gz archive), or `part=database`, its database (a gzipped SQL dump). The file comes from the API whichever storage the backup is in, sent as it's read; its name is in `Content-Disposition`. Every download is written to the token's request log.\n\n**Limits.** Only a backup with `canDownload`: one on an SFTP server is downloaded from that server, and one in Google Drive from its folder there (`409 conflict`, with the folder's link). Also `409 conflict`: the storage refuses the file or no longer has it, or it has no IPv4 address (the API downloads only over IPv4). 60 downloads an hour per account, and 50 GB a day: once an account has downloaded that much today, a download answers `429 rate_limited` until the day ends at 00:00 UTC (one that starts under it finishes)."
          },
          "response": []
        },
        {
          "name": "List your backup storage",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations?status=ok",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "kind",
                  "value": "",
                  "description": "Only storage of this kind.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "ok",
                  "description": "Only storage with this status."
                }
              ]
            },
            "description": "Lists the storage of your own that sites can be backed up to, newest first: buckets, SFTP servers, Google Drive and Dropbox. A site's backups go to one of them when its settings name its `id` as `destination`. Keys and passwords are never answered. Filter by `kind` and `status`.\n\nRabbitflare Backup isn't listed: it's always there, as `destination: \"rabbitflare\"`.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/backup-destinations?status=ok",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "backup-destinations"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "kind",
                      "value": "",
                      "description": "Only storage of this kind.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "ok",
                      "description": "Only storage with this status."
                    }
                  ]
                },
                "description": "Lists the storage of your own that sites can be backed up to, newest first: buckets, SFTP servers, Google Drive and Dropbox. A site's backups go to one of them when its settings name its `id` as `destination`. Keys and passwords are never answered. Filter by `kind` and `status`.\n\nRabbitflare Backup isn't listed: it's always there, as `destination: \"rabbitflare\"`.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12\",\n      \"kind\": \"s3\",\n      \"name\": \"Amazon S3 · shop-backups\",\n      \"detail\": \"shop-backups/sites\",\n      \"status\": \"ok\",\n      \"lastError\": null,\n      \"publicKey\": null,\n      \"hostKeyFingerprint\": null,\n      \"siteCount\": 1,\n      \"createdAt\": \"2026-11-12T09:30:00.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get backup storage",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations/:destinationId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations",
                ":destinationId"
              ],
              "variable": [
                {
                  "key": "destinationId",
                  "value": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12",
                  "description": "The storage's id."
                }
              ]
            },
            "description": "One storage of your own, as the list shows it: its kind, its name, where it points (`detail`), its status after its last check (`lastError` says what went wrong), and how many sites back up to it. Keys and passwords are never answered.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/backup-destinations/:destinationId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "backup-destinations",
                    ":destinationId"
                  ],
                  "variable": [
                    {
                      "key": "destinationId",
                      "value": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12",
                      "description": "The storage's id."
                    }
                  ]
                },
                "description": "One storage of your own, as the list shows it: its kind, its name, where it points (`detail`), its status after its last check (`lastError` says what went wrong), and how many sites back up to it. Keys and passwords are never answered.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12\",\n    \"kind\": \"s3\",\n    \"name\": \"Amazon S3 · shop-backups\",\n    \"detail\": \"shop-backups/sites\",\n    \"status\": \"ok\",\n    \"lastError\": null,\n    \"publicKey\": null,\n    \"hostKeyFingerprint\": null,\n    \"siteCount\": 1,\n    \"createdAt\": \"2026-11-12T09:30:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Connect backup storage",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations"
              ]
            },
            "description": "Connects storage of your own for site backups: an Amazon S3 bucket (`s3`), a DigitalOcean Space (`spaces`), Vultr Object Storage (`vultr`), a Cloudflare R2 bucket (`r2`), any other storage that speaks S3 (`s3compat`), or an SFTP server (`sftp`). Google Drive and Dropbox are connected in the panel, by signing in to them.\n\nIt's checked before it's saved, from Rabbitflare's side: a small file is written and deleted (`400 bad_request` with the reason when that fails). So an S3-compatible endpoint or an SFTP server must be on the public internet: a name whose IPv4 addresses are all public, or a public IPv4 address (`422 validation_failed` otherwise, or `503 try_again` when its DNS doesn't answer). An SFTP server signing in with Rabbitflare's key (`auth: \"key\"`, the default) is saved as `pending`: add the answer's `publicKey` to the user's `~/.ssh/authorized_keys` on the server, then check it (`POST /backup-destinations/{destinationId}/actions/check`).\n\nKeys and passwords are kept encrypted and never answered. The answer is `201` with the storage; `Location` is its path, `/v1/backup-destinations/{destinationId}`, where `GET` reads it, `PATCH` renames it and `DELETE` removes it. **Limits.** 20 per account, 20 connected an hour.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"s3\",\n  \"accessKeyId\": \"AKIAIOSFODNN7EXAMPLE\",\n  \"secretAccessKey\": \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\",\n  \"bucket\": \"shop-backups\",\n  \"folder\": \"sites\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/backup-destinations",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "backup-destinations"
                  ]
                },
                "description": "Connects storage of your own for site backups: an Amazon S3 bucket (`s3`), a DigitalOcean Space (`spaces`), Vultr Object Storage (`vultr`), a Cloudflare R2 bucket (`r2`), any other storage that speaks S3 (`s3compat`), or an SFTP server (`sftp`). Google Drive and Dropbox are connected in the panel, by signing in to them.\n\nIt's checked before it's saved, from Rabbitflare's side: a small file is written and deleted (`400 bad_request` with the reason when that fails). So an S3-compatible endpoint or an SFTP server must be on the public internet: a name whose IPv4 addresses are all public, or a public IPv4 address (`422 validation_failed` otherwise, or `503 try_again` when its DNS doesn't answer). An SFTP server signing in with Rabbitflare's key (`auth: \"key\"`, the default) is saved as `pending`: add the answer's `publicKey` to the user's `~/.ssh/authorized_keys` on the server, then check it (`POST /backup-destinations/{destinationId}/actions/check`).\n\nKeys and passwords are kept encrypted and never answered. The answer is `201` with the storage; `Location` is its path, `/v1/backup-destinations/{destinationId}`, where `GET` reads it, `PATCH` renames it and `DELETE` removes it. **Limits.** 20 per account, 20 connected an hour.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"s3\",\n  \"accessKeyId\": \"AKIAIOSFODNN7EXAMPLE\",\n  \"secretAccessKey\": \"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\",\n  \"bucket\": \"shop-backups\",\n  \"folder\": \"sites\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12\",\n    \"kind\": \"s3\",\n    \"name\": \"Amazon S3 · shop-backups\",\n    \"detail\": \"shop-backups/sites\",\n    \"status\": \"ok\",\n    \"lastError\": null,\n    \"publicKey\": null,\n    \"hostKeyFingerprint\": null,\n    \"siteCount\": 0,\n    \"createdAt\": \"2026-11-19T10:00:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Rename backup storage",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations/:destinationId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations",
                ":destinationId"
              ],
              "variable": [
                {
                  "key": "destinationId",
                  "value": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12",
                  "description": "The storage's id."
                }
              ]
            },
            "description": "Gives the storage a new name. Backups already made keep the name it had then (their `location`). The answer is the storage.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Shop backups (S3)\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/backup-destinations/:destinationId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "backup-destinations",
                    ":destinationId"
                  ],
                  "variable": [
                    {
                      "key": "destinationId",
                      "value": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12",
                      "description": "The storage's id."
                    }
                  ]
                },
                "description": "Gives the storage a new name. Backups already made keep the name it had then (their `location`). The answer is the storage.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Shop backups (S3)\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12\",\n    \"kind\": \"s3\",\n    \"name\": \"Shop backups (S3)\",\n    \"detail\": \"shop-backups/sites\",\n    \"status\": \"ok\",\n    \"lastError\": null,\n    \"publicKey\": null,\n    \"hostKeyFingerprint\": null,\n    \"siteCount\": 1,\n    \"createdAt\": \"2026-11-12T09:30:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Check backup storage",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations/:destinationId/actions/check",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations",
                ":destinationId",
                "actions",
                "check"
              ],
              "variable": [
                {
                  "key": "destinationId",
                  "value": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c23",
                  "description": "The storage's id."
                }
              ]
            },
            "description": "Tests the storage again by writing a small file and deleting it: the answer is the storage, `ok`, or `error` with what went wrong in `lastError`. Use it after adding Rabbitflare's key to an SFTP server (whose identity, its host key, is noted at the first successful check and expected from then on), or after changing the storage's keys or permissions. An S3-compatible endpoint or an SFTP server that isn't on the public internet (any more) isn't tried (`409 conflict`: connect the storage again with another address; `503 try_again` when its DNS doesn't answer). 30 checks an hour per account.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/backup-destinations/:destinationId/actions/check",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "backup-destinations",
                    ":destinationId",
                    "actions",
                    "check"
                  ],
                  "variable": [
                    {
                      "key": "destinationId",
                      "value": "9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c23",
                      "description": "The storage's id."
                    }
                  ]
                },
                "description": "Tests the storage again by writing a small file and deleting it: the answer is the storage, `ok`, or `error` with what went wrong in `lastError`. Use it after adding Rabbitflare's key to an SFTP server (whose identity, its host key, is noted at the first successful check and expected from then on), or after changing the storage's keys or permissions. An S3-compatible endpoint or an SFTP server that isn't on the public internet (any more) isn't tried (`409 conflict`: connect the storage again with another address; `503 try_again` when its DNS doesn't answer). 30 checks an hour per account.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"9a0b1c2d-3e4f-4a5b-8c6d-7e8f9a0b1c23\",\n    \"kind\": \"sftp\",\n    \"name\": \"Office NAS\",\n    \"detail\": \"backup@nas.example.com:site-backups\",\n    \"status\": \"ok\",\n    \"lastError\": null,\n    \"publicKey\": \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGk2bVx0dGhpcyBpcyBhbiBleGFtcGxlIGtleSBvbmx5 rabbitflare.com-backups\",\n    \"hostKeyFingerprint\": \"SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8\",\n    \"siteCount\": 0,\n    \"createdAt\": \"2026-11-19T10:02:00.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove backup storage",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/backup-destinations/:destinationId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "backup-destinations",
                ":destinationId"
              ],
              "variable": [
                {
                  "key": "destinationId",
                  "value": "8f9a0b1c-2d3e-4f4a-9b5c-6d7e8f9a0b12",
                  "description": "The storage's id."
                }
              ]
            },
            "description": "Disconnects the storage. The backups in it stay there, but they can't be restored or downloaded through Rabbitflare any more, and they leave the sites' lists. Only storage no site backs up to (`409 conflict`: choose other storage for those sites first), and not while a backup to it runs. The answer is `204`.\n\nStorage belongs to the whole account, as in the panel, not to a server: a token limited to some servers sees and manages all of it too, with where it points (`detail`) and the count of sites on every server that back up to it (`siteCount`)."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Staging",
      "description": "A site's staging copy: create, refresh, push and undo.",
      "item": [
        {
          "name": "Get a site's staging",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Returns the live site's staging: its copy (with its address, certificate and settings), the staging operation in progress (`activeRun`), the restore point kept from its last push (or undo), the last operations, and why a copy can't be created if it can't (`blockers`).\n\nPoll it to follow an operation in progress. It works whether or not staging is open to the account (`features.staging` in `GET /account`), so a push can always be undone."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Returns the live site's staging: its copy (with its address, certificate and settings), the staging operation in progress (`activeRun`), the restore point kept from its last push (or undo), the last operations, and why a copy can't be created if it can't (`blockers`).\n\nPoll it to follow an operation in progress. It works whether or not staging is open to the account (`features.staging` in `GET /account`), so a push can always be undone."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": null,\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Create a staging copy",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Makes a private copy of the live site on the same server (its files and its database), on its own address with a certificate, password protected, with outgoing email held and scheduled tasks paused. One copy per live site, included with the site.\n\n**What happens next.** The answer is `201` with the copy `installing` and the `create` operation in `activeRun`. It usually takes a few minutes, depending on the site's size. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`.\n\n**Limits.** The site must be installed and its server running, with no other operation in progress. A site's copy can be created 3 times a week (`createsLeftThisWeek`), and an account's copies a few times a day: past that, `409 limit_reached` says when to try again. `blockers` in `GET /sites/{siteId}/staging` says what stands in the way."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Makes a private copy of the live site on the same server (its files and its database), on its own address with a certificate, password protected, with outgoing email held and scheduled tasks paused. One copy per live site, included with the site.\n\n**What happens next.** The answer is `201` with the copy `installing` and the `create` operation in `activeRun`. It usually takes a few minutes, depending on the site's size. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`.\n\n**Limits.** The site must be installed and its server running, with no other operation in progress. A site's copy can be created 3 times a week (`createsLeftThisWeek`), and an account's copies a few times a day: past that, `409 limit_reached` says when to try again. `blockers` in `GET /sites/{siteId}/staging` says what stands in the way."
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"installing\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"none\",\n      \"certificate\": \"temporary\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": null,\n      \"filesSyncedAt\": null,\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": {\n      \"id\": \"0d4c7b2a-1e3f-4a5b-8c6d-7e8f9a0b1c2d\",\n      \"operation\": \"create\",\n      \"status\": \"queued\",\n      \"phase\": null,\n      \"stage\": \"Publishing the staging address\",\n      \"progress\": null,\n      \"cancellable\": true,\n      \"options\": {\n        \"parts\": null,\n        \"scope\": null,\n        \"tables\": null,\n        \"restoreRunId\": null\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    },\n    \"restorePoints\": [],\n    \"recentRuns\": [],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the staging copy's password",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/password-protection",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "password-protection"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Returns the username and password visitors enter to see the staging copy while its password protection is on (`settings.protect`). It isn't the WordPress login: the copy's WordPress users and passwords are the live site's. Change them with `PUT /sites/{siteId}/staging/settings`. Every call is written to the token's activity."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/password-protection",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "password-protection"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Returns the username and password visitors enter to see the staging copy while its password protection is on (`settings.protect`). It isn't the WordPress login: the copy's WordPress users and passwords are the live site's. Change them with `PUT /sites/{siteId}/staging/settings`. Every call is written to the token's activity."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"username\": \"staging\",\n    \"password\": \"k7Qm2vXc9RtLp4Wz8NbY\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Change the staging copy's settings",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "settings"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Changes the copy's password protection (on or off, its username, a new password), whether its outgoing email is held, and whether its scheduled tasks run. Settings left out stay as they are.\n\nThe answer is the staging with `copy.settings.status: \"applying\"`; they're in place on the server within seconds (`applied`). Sending the settings it already has changes nothing and answers the staging as it is.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"protect\": true,\n  \"holdEmail\": true,\n  \"tasks\": false,\n  \"regeneratePassword\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Changes the copy's password protection (on or off, its username, a new password), whether its outgoing email is held, and whether its scheduled tasks run. Settings left out stay as they are.\n\nThe answer is the staging with `copy.settings.status: \"applying\"`; they're in place on the server within seconds (`applied`). Sending the settings it already has changes nothing and answers the staging as it is.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"protect\": true,\n  \"holdEmail\": true,\n  \"tasks\": false,\n  \"regeneratePassword\": true\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applying\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": null,\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Refresh the staging copy from the live site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/actions/refresh",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "actions",
                "refresh"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Copies the live site into the staging copy again: everything, or only its files or its database (`parts`). What was on the copy is replaced, and can't be had back; the copy's settings stay as they are. The live site isn't changed.\n\n**What happens next.** The answer is `202` with the `refresh` operation in `activeRun`. It usually takes a few minutes. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. A refresh that fails leaves the copy as it was.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"parts\": \"database\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/actions/refresh",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "actions",
                    "refresh"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Copies the live site into the staging copy again: everything, or only its files or its database (`parts`). What was on the copy is replaced, and can't be had back; the copy's settings stay as they are. The live site isn't changed.\n\n**What happens next.** The answer is `202` with the `refresh` operation in `activeRun`. It usually takes a few minutes. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. A refresh that fails leaves the copy as it was.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"parts\": \"database\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": {\n      \"id\": \"3e9a1f7c-2d4b-4c6e-8a1f-9b0c1d2e3f4a\",\n      \"operation\": \"refresh\",\n      \"status\": \"queued\",\n      \"phase\": null,\n      \"stage\": \"Waiting to start\",\n      \"progress\": null,\n      \"cancellable\": true,\n      \"options\": {\n        \"parts\": \"database\",\n        \"scope\": null,\n        \"tables\": null,\n        \"restoreRunId\": null\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"createdAt\": \"2026-11-18T16:02:40.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    },\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Check what a staging operation would do",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/preview?operation=push&scope=everything",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "preview"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ],
              "query": [
                {
                  "key": "operation",
                  "value": "push",
                  "description": "The operation to check: `create`, `refresh`, `push` or `undo`."
                },
                {
                  "key": "scope",
                  "value": "everything",
                  "description": "For a push: what it would copy, `code` (WordPress itself, plugins, themes, must-use plugins and languages), `database` (the database, and media added on the copy) or `everything` (both). Default `code`."
                },
                {
                  "key": "parts",
                  "value": "",
                  "description": "For a refresh: what it would copy, `all` (the default), `files` or `database`.",
                  "disabled": true
                },
                {
                  "key": "runId",
                  "value": "",
                  "description": "For an undo (and needed there): the restore point's `runId`.",
                  "disabled": true
                },
                {
                  "key": "tables",
                  "value": "",
                  "description": "For a push of the database: the only tables it would copy, separated by commas.",
                  "disabled": true
                }
              ]
            },
            "description": "Asks the server what an operation would do and need, before you start it (it takes a few seconds): the room it needs, what stands in the way (`blockers`), and for a push of the database what changed on the live site since the copy and which tables it would copy; for a push of the code, what's newer on the live site (`downgrades`, which the push needs in its `allowDowngrade`) and what it would remove.\n\nNothing is changed. Up to 10 previews a minute; not while a staging operation is running (`409 staging_busy`). When the server couldn't check, the answer is `503 try_again`.\n\nWhile staging is closed to the account (`features.staging` in `GET /account`), only an undo's preview works, so a push can always be checked and undone; the others answer `403 feature_unavailable`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/preview?operation=push&scope=everything",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "preview"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ],
                  "query": [
                    {
                      "key": "operation",
                      "value": "push",
                      "description": "The operation to check: `create`, `refresh`, `push` or `undo`."
                    },
                    {
                      "key": "scope",
                      "value": "everything",
                      "description": "For a push: what it would copy, `code` (WordPress itself, plugins, themes, must-use plugins and languages), `database` (the database, and media added on the copy) or `everything` (both). Default `code`."
                    },
                    {
                      "key": "parts",
                      "value": "",
                      "description": "For a refresh: what it would copy, `all` (the default), `files` or `database`.",
                      "disabled": true
                    },
                    {
                      "key": "runId",
                      "value": "",
                      "description": "For an undo (and needed there): the restore point's `runId`.",
                      "disabled": true
                    },
                    {
                      "key": "tables",
                      "value": "",
                      "description": "For a push of the database: the only tables it would copy, separated by commas.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Asks the server what an operation would do and need, before you start it (it takes a few seconds): the room it needs, what stands in the way (`blockers`), and for a push of the database what changed on the live site since the copy and which tables it would copy; for a push of the code, what's newer on the live site (`downgrades`, which the push needs in its `allowDowngrade`) and what it would remove.\n\nNothing is changed. Up to 10 previews a minute; not while a staging operation is running (`409 staging_busy`). When the server couldn't check, the answer is `503 try_again`.\n\nWhile staging is closed to the account (`features.staging` in `GET /account`), only an undo's preview works, so a push can always be checked and undone; the others answer `403 feature_unavailable`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"sizes\": {\n      \"liveFilesBytes\": 0,\n      \"liveDatabaseBytes\": 48211456,\n      \"stagingFilesBytes\": 0,\n      \"stagingDatabaseBytes\": 51380224,\n      \"freeBytes\": 41871163392,\n      \"neededBytes\": 113036492\n    },\n    \"blockers\": [],\n    \"warnings\": [\n      \"The live site has new orders or users since the copy; pushing the database replaces them\"\n    ],\n    \"changes\": {\n      \"since\": \"2026-11-18T10:05:47.000Z\",\n      \"orders\": 3,\n      \"users\": 1,\n      \"comments\": 0,\n      \"formEntries\": 2,\n      \"posts\": 0,\n      \"editedPosts\": 1\n    },\n    \"tables\": [\n      {\n        \"name\": \"wp_options\",\n        \"rows\": 412,\n        \"sizeBytes\": 1212416,\n        \"onLive\": true,\n        \"keptOnLive\": false\n      },\n      {\n        \"name\": \"wp_posts\",\n        \"rows\": 1874,\n        \"sizeBytes\": 9453568,\n        \"onLive\": true,\n        \"keptOnLive\": false\n      },\n      {\n        \"name\": \"wp_users\",\n        \"rows\": 12,\n        \"sizeBytes\": 16384,\n        \"onLive\": true,\n        \"keptOnLive\": false\n      }\n    ],\n    \"liveOnlyTables\": [\n      \"wp_shop_audit_log\"\n    ],\n    \"downgrades\": [\n      {\n        \"kind\": \"plugin\",\n        \"name\": \"woocommerce\",\n        \"title\": \"WooCommerce\",\n        \"liveVersion\": \"9.4.2\",\n        \"stagingVersion\": \"9.4.1\"\n      }\n    ],\n    \"removedFromLive\": [],\n    \"overdueTasks\": 0,\n    \"paymentsScheduled\": false\n  }\n}"
            }
          ]
        },
        {
          "name": "Push the staging copy to the live site",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesStagingPush\")) pm.collectionVariables.set(\"idempotencyKey_sitesStagingPush\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesStagingPush\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesStagingPush}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/actions/push",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "actions",
                "push"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Copies the staging copy to the live site: its code (the default), its database with the media added on it, or everything (`scope`). What it replaces on the live site is kept as a restore point for 7 days, so the push can be undone with `POST /sites/{siteId}/staging/actions/undo-push`. A site keeps only its newest restore point: the next push or undo replaces it (and it's deleted by itself 7 days after it was made).\n\n**Idempotency-Key required.** A push or an undo done twice would discard the first one's restore point, so each needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is done twice.\n\nPushing the database replaces the live site's orders, users and posts made since the copy: check with `GET /sites/{siteId}/staging/preview?operation=push&scope=database` first. Plugins, themes or WordPress itself that are newer on the live site are put back to the copy's version only when named in `allowDowngrade`; otherwise the push fails, changing nothing.\n\n**What happens next.** The answer is `202` with the `push` operation in `activeRun`. It prepares everything first, while the live site keeps working (it can be cancelled then), and then switches the live site over in seconds. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. A push that fails leaves the live site as it was.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"scope\": \"code\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesStagingPush}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/actions/push",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "actions",
                    "push"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Copies the staging copy to the live site: its code (the default), its database with the media added on it, or everything (`scope`). What it replaces on the live site is kept as a restore point for 7 days, so the push can be undone with `POST /sites/{siteId}/staging/actions/undo-push`. A site keeps only its newest restore point: the next push or undo replaces it (and it's deleted by itself 7 days after it was made).\n\n**Idempotency-Key required.** A push or an undo done twice would discard the first one's restore point, so each needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is done twice.\n\nPushing the database replaces the live site's orders, users and posts made since the copy: check with `GET /sites/{siteId}/staging/preview?operation=push&scope=database` first. Plugins, themes or WordPress itself that are newer on the live site are put back to the copy's version only when named in `allowDowngrade`; otherwise the push fails, changing nothing.\n\n**What happens next.** The answer is `202` with the `push` operation in `activeRun`. It prepares everything first, while the live site keeps working (it can be cancelled then), and then switches the live site over in seconds. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. A push that fails leaves the live site as it was.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"scope\": \"code\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": {\n      \"id\": \"3e9a1f7c-2d4b-4c6e-8a1f-9b0c1d2e3f4a\",\n      \"operation\": \"push\",\n      \"status\": \"queued\",\n      \"phase\": null,\n      \"stage\": \"Waiting to start\",\n      \"progress\": null,\n      \"cancellable\": true,\n      \"options\": {\n        \"parts\": null,\n        \"scope\": \"code\",\n        \"tables\": null,\n        \"restoreRunId\": null\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"createdAt\": \"2026-11-18T16:02:40.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    },\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Undo a push to the live site",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesStagingUndoPush\")) pm.collectionVariables.set(\"idempotencyKey_sitesStagingUndoPush\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesStagingUndoPush\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesStagingUndoPush}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/actions/undo-push",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "actions",
                "undo-push"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Puts the live site back to its restore point: what the last push (or undo) replaced, kept for 7 days (`restorePoints` in `GET /sites/{siteId}/staging`). What changed on the live site since then is replaced; the undo keeps a restore point of its own, which takes the place of the one it used, so it can be undone too. A site keeps only its newest restore point: the next push or undo replaces it (and it's deleted by itself 7 days after it was made).\n\n**Idempotency-Key required.** A push or an undo done twice would discard the first one's restore point, so each needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is done twice.\n\n**What happens next.** The answer is `202` with the `undo` operation in `activeRun`. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. An undo that fails leaves the live site as it was. It works whether or not staging is open to the account.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesStagingUndoPush}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/actions/undo-push",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "actions",
                    "undo-push"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Puts the live site back to its restore point: what the last push (or undo) replaced, kept for 7 days (`restorePoints` in `GET /sites/{siteId}/staging`). What changed on the live site since then is replaced; the undo keeps a restore point of its own, which takes the place of the one it used, so it can be undone too. A site keeps only its newest restore point: the next push or undo replaces it (and it's deleted by itself 7 days after it was made).\n\n**Idempotency-Key required.** A push or an undo done twice would discard the first one's restore point, so each needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is done twice.\n\n**What happens next.** The answer is `202` with the `undo` operation in `activeRun`. Poll `GET /sites/{siteId}/staging` every 10 seconds until `activeRun` is null; the operation is then first in `recentRuns`, `completed`, or `failed` with the reason in `lastError`. An undo that fails leaves the live site as it was. It works whether or not staging is open to the account.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": {\n      \"id\": \"3e9a1f7c-2d4b-4c6e-8a1f-9b0c1d2e3f4a\",\n      \"operation\": \"undo\",\n      \"status\": \"queued\",\n      \"phase\": null,\n      \"stage\": \"Waiting to start\",\n      \"progress\": null,\n      \"cancellable\": true,\n      \"options\": {\n        \"parts\": null,\n        \"scope\": null,\n        \"tables\": null,\n        \"restoreRunId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\"\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"createdAt\": \"2026-11-18T16:02:40.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    },\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"using\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Cancel the staging operation in progress",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/actions/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "actions",
                "cancel"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Stops the staging operation in progress while it's still waiting or preparing (`cancellable` on `activeRun`): nothing has been changed then. Once it's switching over (seconds), it can't be cancelled (`409 not_cancellable`). The answer is the staging; the operation ends as `cancelled` within moments."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/actions/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "actions",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Stops the staging operation in progress while it's still waiting or preparing (`cancellable` on `activeRun`): nothing has been changed then. Once it's switching over (seconds), it can't be cancelled (`409 not_cancellable`). The answer is the staging; the operation ends as `cancelled` within moments."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": {\n      \"id\": \"3e9a1f7c-2d4b-4c6e-8a1f-9b0c1d2e3f4a\",\n      \"operation\": \"push\",\n      \"status\": \"queued\",\n      \"phase\": null,\n      \"stage\": \"Checking both sites\",\n      \"progress\": null,\n      \"cancellable\": true,\n      \"options\": {\n        \"parts\": null,\n        \"scope\": \"code\",\n        \"tables\": null,\n        \"restoreRunId\": null\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"createdAt\": \"2026-11-18T16:02:40.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    },\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a restore point",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging/restore-points/:runId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging",
                "restore-points",
                ":runId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                },
                {
                  "key": "runId",
                  "value": "7f1e2d3c-4b5a-4968-8776-655443322110",
                  "description": "The restore point's `runId`, from `restorePoints` in `GET /sites/{siteId}/staging`."
                }
              ]
            },
            "description": "Deletes a restore point before it expires, freeing the room it takes on the server's disk. The push that made it can't be undone after this. The answer is the staging, with the restore point `discarding` until it's gone from the server. One being used by an undo, or kept while our team puts the site right, can't be deleted (`409 conflict`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging/restore-points/:runId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging",
                    "restore-points",
                    ":runId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    },
                    {
                      "key": "runId",
                      "value": "7f1e2d3c-4b5a-4968-8776-655443322110",
                      "description": "The restore point's `runId`, from `restorePoints` in `GET /sites/{siteId}/staging`."
                    }
                  ]
                },
                "description": "Deletes a restore point before it expires, freeing the room it takes on the server's disk. The push that made it can't be undone after this. The answer is the staging, with the restore point `discarding` until it's gone from the server. One being used by an undo, or kept while our team puts the site right, can't be deleted (`409 conflict`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"active\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": null,\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"discarding\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete the staging copy",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/staging",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "staging"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The live site's id (never the staging copy's)."
                }
              ]
            },
            "description": "Deletes the staging copy with its files, database and address. This can't be undone. The live site isn't changed, and the restore point of its last push stays until it expires.\n\nAnswers `202` with the copy `deleting` while it's removed from the server (usually under a minute; `copy` is then null). The server must be running, and no staging operation may be in progress (cancel it first)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/staging",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "staging"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The live site's id (never the staging copy's)."
                    }
                  ]
                },
                "description": "Deletes the staging copy with its files, database and address. This can't be undone. The live site isn't changed, and the restore point of its last push stays until it expires.\n\nAnswers `202` with the copy `deleting` while it's removed from the server (usually under a minute; `copy` is then null). The server must be running, and no staging operation may be in progress (cancel it first)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"live\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"url\": \"https://shop.example.com\"\n    },\n    \"copy\": {\n      \"id\": \"5c2e8f1a-7b3d-4e6f-9a0b-1c2d3e4f5a6b\",\n      \"name\": \"Shop (staging)\",\n      \"status\": \"deleting\",\n      \"url\": \"https://staging.shop-x7k2p.rabbitflare.link\",\n      \"adminUrl\": \"https://staging.shop-x7k2p.rabbitflare.link/wp-admin/\",\n      \"hostname\": \"staging.shop-x7k2p.rabbitflare.link\",\n      \"sslStatus\": \"active\",\n      \"certificate\": \"trusted\",\n      \"certificateRetry\": false,\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"databaseSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"filesSyncedAt\": \"2026-11-18T10:05:47.000Z\",\n      \"settings\": {\n        \"protect\": true,\n        \"username\": \"staging\",\n        \"holdEmail\": true,\n        \"tasks\": false,\n        \"status\": \"applied\",\n        \"lastError\": null\n      }\n    },\n    \"activeRun\": null,\n    \"restorePoints\": [\n      {\n        \"runId\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"scope\": \"code\",\n        \"status\": \"available\",\n        \"createdAt\": \"2026-11-18T14:21:38.000Z\",\n        \"expiresAt\": \"2026-11-25T14:21:38.000Z\",\n        \"sizeBytes\": 182403211\n      }\n    ],\n    \"recentRuns\": [\n      {\n        \"id\": \"7f1e2d3c-4b5a-4968-8776-655443322110\",\n        \"operation\": \"push\",\n        \"status\": \"completed\",\n        \"phase\": null,\n        \"stage\": null,\n        \"progress\": 100,\n        \"cancellable\": false,\n        \"options\": {\n          \"parts\": null,\n          \"scope\": \"code\",\n          \"tables\": null,\n          \"restoreRunId\": null\n        },\n        \"lastError\": null,\n        \"notes\": [],\n        \"createdAt\": \"2026-11-18T14:20:03.000Z\",\n        \"startedAt\": \"2026-11-18T14:20:05.000Z\",\n        \"finishedAt\": \"2026-11-18T14:21:38.000Z\"\n      }\n    ],\n    \"blockers\": [],\n    \"createsLeftThisWeek\": 2\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Cloning",
      "description": "Copy a site to a new site.",
      "item": [
        {
          "name": "Get what cloning a site needs",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The id of the site to clone."
                }
              ]
            },
            "description": "Returns whether the site can be cloned (`blockers`), its size, the servers it can be cloned to (its own first) with the room on its own server, a name for the new site, the clone in progress and the latest clones.\n\nIt asks the site's server to measure the site, which takes a few seconds. A token limited to some servers sees only those as destinations, and only the clones into them (`active`, `recent`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The id of the site to clone."
                    }
                  ]
                },
                "description": "Returns whether the site can be cloned (`blockers`), its size, the servers it can be cloned to (its own first) with the room on its own server, a name for the new site, the clone in progress and the latest clones.\n\nIt asks the site's server to measure the site, which takes a few seconds. A token limited to some servers sees only those as destinations, and only the clones into them (`active`, `recent`)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"blockers\": [],\n    \"sizes\": {\n      \"filesBytes\": 48000000,\n      \"databaseBytes\": 6400000\n    },\n    \"wordpressVersion\": \"6.8.3\",\n    \"suggestedName\": \"Shop copy\",\n    \"destinations\": [\n      {\n        \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n        \"name\": \"Production\",\n        \"cloud\": \"digitalocean\",\n        \"region\": \"fra1\",\n        \"sameServer\": true,\n        \"unavailableReason\": null\n      },\n      {\n        \"id\": \"9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c6b\",\n        \"name\": \"Staging box\",\n        \"cloud\": \"vultr\",\n        \"region\": \"lhr\",\n        \"sameServer\": false,\n        \"unavailableReason\": \"Switched off\"\n      }\n    ],\n    \"room\": {\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"freeBytes\": 41871163392,\n      \"neededBytes\": 330825728,\n      \"fits\": true,\n      \"unknown\": false\n    },\n    \"active\": null,\n    \"recent\": [\n      {\n        \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"progress\": 100,\n        \"source\": {\n          \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"serverName\": \"Production\"\n        },\n        \"target\": {\n          \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n          \"name\": \"Shop copy\",\n          \"serverName\": \"Production\"\n        },\n        \"crossServer\": false,\n        \"options\": {\n          \"resources\": true,\n          \"firewall\": true,\n          \"cron\": true,\n          \"noindex\": true\n        },\n        \"lastError\": null,\n        \"notes\": [\n          \"The site's 2 cron jobs were copied paused, so they don't run twice. Turn each on with POST /v1/sites/{siteId}/cron-jobs/{jobId}/actions/enable when you want it.\"\n        ],\n        \"health\": {\n          \"ok\": true,\n          \"problems\": [],\n          \"reason\": null\n        },\n        \"skipped\": [\n          {\n            \"path\": \"wp-content/uploads/cache.sock\",\n            \"reason\": \"special_file\"\n          }\n        ],\n        \"skippedCount\": 1,\n        \"sizes\": {\n          \"filesBytes\": 48000000,\n          \"databaseBytes\": 6400000\n        },\n        \"cancellable\": false,\n        \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n        \"startedAt\": \"2026-11-18T15:41:02.000Z\",\n        \"finishedAt\": \"2026-11-18T15:44:51.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Check a server's room for a clone",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone/room?serverId=3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d&filesBytes=48000000&databaseBytes=6400000",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone",
                "room"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The id of the site to clone."
                }
              ],
              "query": [
                {
                  "key": "serverId",
                  "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                  "description": "The destination server's id."
                },
                {
                  "key": "filesBytes",
                  "value": "48000000",
                  "description": "The site's files in bytes (`sizes.filesBytes` in `GET /sites/{siteId}/clone`), to work out the room needed. Default 0."
                },
                {
                  "key": "databaseBytes",
                  "value": "6400000",
                  "description": "The site's database in bytes (`sizes.databaseBytes`). Default 0."
                }
              ]
            },
            "description": "Asks a destination server how much room it has for a clone of the site. Give the site's size from `GET /sites/{siteId}/clone` (`filesBytes`, `databaseBytes`) to have the room needed worked out and `fits` answered. A clone to another server needs more room there, as the site is packed and downloaded first. When the server doesn't answer, `unknown` is true; the clone checks again before copying."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone/room?serverId=3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d&filesBytes=48000000&databaseBytes=6400000",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone",
                    "room"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The id of the site to clone."
                    }
                  ],
                  "query": [
                    {
                      "key": "serverId",
                      "value": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
                      "description": "The destination server's id."
                    },
                    {
                      "key": "filesBytes",
                      "value": "48000000",
                      "description": "The site's files in bytes (`sizes.filesBytes` in `GET /sites/{siteId}/clone`), to work out the room needed. Default 0."
                    },
                    {
                      "key": "databaseBytes",
                      "value": "6400000",
                      "description": "The site's database in bytes (`sizes.databaseBytes`). Default 0."
                    }
                  ]
                },
                "description": "Asks a destination server how much room it has for a clone of the site. Give the site's size from `GET /sites/{siteId}/clone` (`filesBytes`, `databaseBytes`) to have the room needed worked out and `fits` answered. A clone to another server needs more room there, as the site is packed and downloaded first. When the server doesn't answer, `unknown` is true; the clone checks again before copying."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n    \"freeBytes\": 41871163392,\n    \"neededBytes\": 330825728,\n    \"fits\": true,\n    \"unknown\": false\n  }\n}"
            }
          ]
        },
        {
          "name": "Clone a site",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesCloneStart\")) pm.collectionVariables.set(\"idempotencyKey_sitesCloneStart\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesCloneStart\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesCloneStart}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The id of the site to clone."
                }
              ]
            },
            "description": "Copies the site (every file and its whole database) into a new site of its own, on the same server or another server of the account. The new site has the original's WordPress users, and keeps its own built-in address. The site you clone isn't changed. By default its PHP and resource settings, its firewall and its cron jobs (paused) are copied too (`options`).\n\n**What happens next.** The answer is `201` with the new site and the clone (`queued`), and the new site's address in `Location`. The new site is installed first, then the copy is made into it, usually in a few minutes. Poll `GET /sites/{siteId}/clone/status` with the new site's id every 10 seconds until `status` is `done`, `failed` (the reason in `lastError`) or `cancelled`.\n\n**Limits.** One clone of a site at a time. Not for staging copies, or sites still installing or busy; the destination server must be running, and the token must reach both servers. It counts as one of the hour's new sites (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)). Cloning a site that has Media Offload counts as setting Media Offload up (the clone gets it too if the site keeps some of its media only in storage when the copy is done): 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).\n\n**Idempotency-Key required.** A request sent again (after a timeout, say) must never make a second site or start a second copy: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), the same request sent again with the same key gets the first answer, and nothing is made twice; while the first is still running, the same key answers `409 idempotency_in_progress` (try again in a moment).\n\n**Media Offload.** When the site being copied has Media Offload on (on, being set up, being turned off, or failed), the new site gets it too, billed by use after each month like turning it on (`POST /sites/{siteId}/media-offload/actions/enable`): so this also needs `billing:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`) and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). Nothing is made or changed then.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Shop copy\",\n  \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n  \"options\": {\n    \"noindex\": true\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesCloneStart}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The id of the site to clone."
                    }
                  ]
                },
                "description": "Copies the site (every file and its whole database) into a new site of its own, on the same server or another server of the account. The new site has the original's WordPress users, and keeps its own built-in address. The site you clone isn't changed. By default its PHP and resource settings, its firewall and its cron jobs (paused) are copied too (`options`).\n\n**What happens next.** The answer is `201` with the new site and the clone (`queued`), and the new site's address in `Location`. The new site is installed first, then the copy is made into it, usually in a few minutes. Poll `GET /sites/{siteId}/clone/status` with the new site's id every 10 seconds until `status` is `done`, `failed` (the reason in `lastError`) or `cancelled`.\n\n**Limits.** One clone of a site at a time. Not for staging copies, or sites still installing or busy; the destination server must be running, and the token must reach both servers. It counts as one of the hour's new sites (see [Rate limits](https://rabbitflare.com/docs/api/rate-limits)). Cloning a site that has Media Offload counts as setting Media Offload up (the clone gets it too if the site keeps some of its media only in storage when the copy is done): 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).\n\n**Idempotency-Key required.** A request sent again (after a timeout, say) must never make a second site or start a second copy: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), the same request sent again with the same key gets the first answer, and nothing is made twice; while the first is still running, the same key answers `409 idempotency_in_progress` (try again in a moment).\n\n**Media Offload.** When the site being copied has Media Offload on (on, being set up, being turned off, or failed), the new site gets it too, billed by use after each month like turning it on (`POST /sites/{siteId}/media-offload/actions/enable`): so this also needs `billing:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`) and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). Nothing is made or changed then.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Shop copy\",\n  \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n  \"options\": {\n    \"noindex\": true\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"site\": {\n      \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n      \"name\": \"Shop copy\",\n      \"serverId\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n      \"server\": {\n        \"id\": \"3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d\",\n        \"name\": \"Production\",\n        \"status\": \"active\",\n        \"cloud\": \"digitalocean\",\n        \"region\": \"fra1\",\n        \"ipv4\": \"203.0.113.10\",\n        \"ipv6\": \"2001:db8::10\"\n      },\n      \"status\": \"queued\",\n      \"stage\": \"queued\",\n      \"pendingAction\": null,\n      \"url\": \"http://shop-copy-p4m8r.rabbitflare.link\",\n      \"adminUrl\": \"http://shop-copy-p4m8r.rabbitflare.link/wp-admin/\",\n      \"builtInDomain\": \"shop-copy-p4m8r.rabbitflare.link\",\n      \"primaryDomain\": \"shop-copy-p4m8r.rabbitflare.link\",\n      \"siteTitle\": \"Example Shop\",\n      \"wordpress\": {\n        \"adminUsername\": \"editor\",\n        \"adminEmail\": \"you@example.com\"\n      },\n      \"sslStatus\": \"none\",\n      \"cdn\": \"off\",\n      \"firewall\": {\n        \"mode\": \"off\",\n        \"status\": \"off\"\n      },\n      \"malwareProtection\": {\n        \"enabled\": true,\n        \"included\": true\n      },\n      \"customResources\": false,\n      \"stagingOf\": null,\n      \"staging\": null,\n      \"clone\": {\n        \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n        \"status\": \"queued\",\n        \"stage\": \"Setting up the new site\",\n        \"progress\": null,\n        \"sourceName\": \"Shop\",\n        \"error\": null\n      },\n      \"clonedFrom\": null,\n      \"beingCloned\": null,\n      \"iconUrl\": null,\n      \"lastError\": null,\n      \"readyAt\": null,\n      \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n      \"updatedAt\": \"2026-11-18T15:40:12.000Z\"\n    },\n    \"clone\": {\n      \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n      \"status\": \"queued\",\n      \"stage\": \"Setting up the new site\",\n      \"progress\": null,\n      \"source\": {\n        \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n        \"name\": \"Shop\",\n        \"serverName\": \"Production\"\n      },\n      \"target\": {\n        \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n        \"name\": \"Shop copy\",\n        \"serverName\": \"Production\"\n      },\n      \"crossServer\": false,\n      \"options\": {\n        \"resources\": true,\n        \"firewall\": true,\n        \"cron\": true,\n        \"noindex\": true\n      },\n      \"lastError\": null,\n      \"notes\": [],\n      \"health\": null,\n      \"skipped\": [],\n      \"skippedCount\": 0,\n      \"sizes\": null,\n      \"cancellable\": true,\n      \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n      \"startedAt\": null,\n      \"finishedAt\": null\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the clone of a new site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone",
                "status"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                  "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                }
              ]
            },
            "description": "Returns the clone made into this new site: how far it has got, and once it's done, the notes, the check of the new site's pages and the files left out. `{siteId}` is the new site (a site that isn't a clone answers 404). Poll it to follow a clone in progress. For a token that can't reach the server of the site it was cloned from, `source` is null."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone/status",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone",
                    "status"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                      "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                    }
                  ]
                },
                "description": "Returns the clone made into this new site: how far it has got, and once it's done, the notes, the check of the new site's pages and the files left out. `{siteId}` is the new site (a site that isn't a clone answers 404). Poll it to follow a clone in progress. For a token that can't reach the server of the site it was cloned from, `source` is null."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n    \"status\": \"done\",\n    \"stage\": null,\n    \"progress\": 100,\n    \"source\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"serverName\": \"Production\"\n    },\n    \"target\": {\n      \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n      \"name\": \"Shop copy\",\n      \"serverName\": \"Production\"\n    },\n    \"crossServer\": false,\n    \"options\": {\n      \"resources\": true,\n      \"firewall\": true,\n      \"cron\": true,\n      \"noindex\": true\n    },\n    \"lastError\": null,\n    \"notes\": [\n      \"The site's 2 cron jobs were copied paused, so they don't run twice. Turn each on with POST /v1/sites/{siteId}/cron-jobs/{jobId}/actions/enable when you want it.\"\n    ],\n    \"health\": {\n      \"ok\": true,\n      \"problems\": [],\n      \"reason\": null\n    },\n    \"skipped\": [\n      {\n        \"path\": \"wp-content/uploads/cache.sock\",\n        \"reason\": \"special_file\"\n      }\n    ],\n    \"skippedCount\": 1,\n    \"sizes\": {\n      \"filesBytes\": 48000000,\n      \"databaseBytes\": 6400000\n    },\n    \"cancellable\": false,\n    \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n    \"startedAt\": \"2026-11-18T15:41:02.000Z\",\n    \"finishedAt\": \"2026-11-18T15:44:51.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Cancel a clone",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone/actions/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone",
                "actions",
                "cancel"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                  "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                }
              ]
            },
            "description": "Stops the clone being made into this new site, until it's being switched into it (`cancellable`). The answer is the clone; it ends as `cancelled` within moments, and the new site is then deleted. The site that was being copied isn't changed."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone/actions/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone",
                    "actions",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                      "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                    }
                  ]
                },
                "description": "Stops the clone being made into this new site, until it's being switched into it (`cancellable`). The answer is the clone; it ends as `cancelled` within moments, and the new site is then deleted. The site that was being copied isn't changed."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n    \"status\": \"copying\",\n    \"stage\": \"Cancelling\",\n    \"progress\": 42,\n    \"source\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"serverName\": \"Production\"\n    },\n    \"target\": {\n      \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n      \"name\": \"Shop copy\",\n      \"serverName\": \"Production\"\n    },\n    \"crossServer\": false,\n    \"options\": {\n      \"resources\": true,\n      \"firewall\": true,\n      \"cron\": true,\n      \"noindex\": true\n    },\n    \"lastError\": null,\n    \"notes\": [],\n    \"health\": null,\n    \"skipped\": [],\n    \"skippedCount\": 0,\n    \"sizes\": null,\n    \"cancellable\": false,\n    \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n    \"startedAt\": \"2026-11-18T15:41:02.000Z\",\n    \"finishedAt\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Try a failed clone again",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesCloneRetry\")) pm.collectionVariables.set(\"idempotencyKey_sitesCloneRetry\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesCloneRetry\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesCloneRetry}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/clone/actions/retry",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "clone",
                "actions",
                "retry"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                  "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                }
              ]
            },
            "description": "Starts a failed clone again, into the same new site, from the original as it is now. The new site must be active and the original still there; otherwise delete the new site and clone again. The token must reach the original's server too, as starting the clone needed (`404 not_found` otherwise). Trying again a clone of a site that has Media Offload counts as setting Media Offload up, 200 a day per account (`429 rate_limited`).\n\n**What happens next.** The answer is `202` with the clone `queued`. Poll `GET /sites/{siteId}/clone/status` with the new site's id every 10 seconds until `status` is `done`, `failed` (the reason in `lastError`) or `cancelled`.\n\n**Idempotency-Key required.** A request sent again (after a timeout, say) must never make a second site or start a second copy: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), the same request sent again with the same key gets the first answer, and nothing is made twice; while the first is still running, the same key answers `409 idempotency_in_progress` (try again in a moment).\n\n**Media Offload.** When the site being copied has Media Offload on (on, being set up, being turned off, or failed), the new site gets it too, billed by use after each month like turning it on (`POST /sites/{siteId}/media-offload/actions/enable`): so this also needs `billing:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`) and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). Nothing is made or changed then."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesCloneRetry}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/clone/actions/retry",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "clone",
                    "actions",
                    "retry"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f",
                      "description": "The id of the new site the clone is made into (`target.id`, or `site.id` in the answer that started it)."
                    }
                  ]
                },
                "description": "Starts a failed clone again, into the same new site, from the original as it is now. The new site must be active and the original still there; otherwise delete the new site and clone again. The token must reach the original's server too, as starting the clone needed (`404 not_found` otherwise). Trying again a clone of a site that has Media Offload counts as setting Media Offload up, 200 a day per account (`429 rate_limited`).\n\n**What happens next.** The answer is `202` with the clone `queued`. Poll `GET /sites/{siteId}/clone/status` with the new site's id every 10 seconds until `status` is `done`, `failed` (the reason in `lastError`) or `cancelled`.\n\n**Idempotency-Key required.** A request sent again (after a timeout, say) must never make a second site or start a second copy: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), the same request sent again with the same key gets the first answer, and nothing is made twice; while the first is still running, the same key answers `409 idempotency_in_progress` (try again in a moment).\n\n**Media Offload.** When the site being copied has Media Offload on (on, being set up, being turned off, or failed), the new site gets it too, billed by use after each month like turning it on (`POST /sites/{siteId}/media-offload/actions/enable`): so this also needs `billing:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`) and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`). Nothing is made or changed then."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"2b7e1c9d-3a4f-4e5b-8d6c-0f1e2a3b4c5d\",\n    \"status\": \"queued\",\n    \"stage\": \"Starting again\",\n    \"progress\": null,\n    \"source\": {\n      \"id\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n      \"name\": \"Shop\",\n      \"serverName\": \"Production\"\n    },\n    \"target\": {\n      \"id\": \"6d3f2e1c-9b8a-4c7d-8e6f-5a4b3c2d1e0f\",\n      \"name\": \"Shop copy\",\n      \"serverName\": \"Production\"\n    },\n    \"crossServer\": false,\n    \"options\": {\n      \"resources\": true,\n      \"firewall\": true,\n      \"cron\": true,\n      \"noindex\": true\n    },\n    \"lastError\": null,\n    \"notes\": [],\n    \"health\": null,\n    \"skipped\": [],\n    \"skippedCount\": 0,\n    \"sizes\": null,\n    \"cancellable\": true,\n    \"createdAt\": \"2026-11-18T15:40:12.000Z\",\n    \"startedAt\": \"2026-11-18T16:10:00.000Z\",\n    \"finishedAt\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "RabbitPress Cache",
      "description": "The RabbitPress Cache plugin on sites, and its licences.",
      "item": [
        {
          "name": "Get RabbitPress Cache on a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "rabbitpress"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns whether RabbitPress Cache, Rabbitflare's WordPress cache plugin, is installed on the site and which version (`version`, and `latestVersion`, the newest), whether the web server sends the site's cached pages itself (`serving`, or why not in `notServingReason`), whether an install or removal is running (`busy`), and whether the site needs one of your licences (`licenseRequired`: sites on servers of your own do). It's read from the site's server each time, so it takes a second or two and counts as a heavy request; `blockedReason` says when it can't be installed or removed here."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "rabbitpress"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns whether RabbitPress Cache, Rabbitflare's WordPress cache plugin, is installed on the site and which version (`version`, and `latestVersion`, the newest), whether the web server sends the site's cached pages itself (`serving`, or why not in `notServingReason`), whether an install or removal is running (`busy`), and whether the site needs one of your licences (`licenseRequired`: sites on servers of your own do). It's read from the site's server each time, so it takes a second or two and counts as a heavy request; `blockedReason` says when it can't be installed or removed here."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"installed\": true,\n    \"version\": \"2.0.10\",\n    \"latestVersion\": \"2.0.10\",\n    \"serving\": true,\n    \"notServingReason\": null,\n    \"busy\": false,\n    \"licenseRequired\": false,\n    \"licenseId\": null,\n    \"lastError\": null,\n    \"blockedReason\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Install or update RabbitPress Cache on a site",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "rabbitpress"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Installs RabbitPress Cache on the site, or updates it to the newest version, and activates it. It's included on servers Rabbitflare creates. A site on a server of your own needs one of your RabbitPress Cache licences: pass its `licenseId` (bought in the panel), or leave it out to keep the licence the site used before.\n\n**What happens next.** The answer is `202` with `busy: true`: the plugin is installed on the site's server, usually within a minute or two. Poll `GET /sites/{siteId}/rabbitpress` until `busy` is false: `installed` and `version` then show it, and `lastError` says why if it didn't finish. If the newest version is installed already (with the same licence), nothing is done and the answer is `200`.\n\n**Limits.** Live sites only, not staging copies (`409 site_unavailable`), on a running server (`409 server_unavailable`); one change at a time per site (`409 busy`). An account installs or updates up to 20 times an hour (`429 rate_limited`: `Retry-After` says when the hour's window ends).",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "rabbitpress"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Installs RabbitPress Cache on the site, or updates it to the newest version, and activates it. It's included on servers Rabbitflare creates. A site on a server of your own needs one of your RabbitPress Cache licences: pass its `licenseId` (bought in the panel), or leave it out to keep the licence the site used before.\n\n**What happens next.** The answer is `202` with `busy: true`: the plugin is installed on the site's server, usually within a minute or two. Poll `GET /sites/{siteId}/rabbitpress` until `busy` is false: `installed` and `version` then show it, and `lastError` says why if it didn't finish. If the newest version is installed already (with the same licence), nothing is done and the answer is `200`.\n\n**Limits.** Live sites only, not staging copies (`409 site_unavailable`), on a running server (`409 server_unavailable`); one change at a time per site (`409 busy`). An account installs or updates up to 20 times an hour (`429 rate_limited`: `Retry-After` says when the hour's window ends).",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"installed\": false,\n    \"version\": null,\n    \"latestVersion\": \"2.0.10\",\n    \"serving\": false,\n    \"notServingReason\": \"The plugin isn't installed.\",\n    \"busy\": true,\n    \"licenseRequired\": false,\n    \"licenseId\": null,\n    \"lastError\": null,\n    \"blockedReason\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove RabbitPress Cache from a site",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "rabbitpress"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Deactivates RabbitPress Cache and deletes it from the site: its pages are no longer cached. A site on a server of your own keeps its licence for a later install (release it in the panel to use it on another website).\n\n**What happens next.** The answer is `202` with `busy: true`: the plugin is removed on the site's server, usually within a minute. Poll `GET /sites/{siteId}/rabbitpress` until `busy` is false. When the site's server says the plugin isn't installed and it serves none of the site's pages from the cache (`serving: false`), nothing is done and the answer is `200`.\n\n**Limits.** Live sites only, not staging copies (`409 site_unavailable`), on a running server (`409 server_unavailable`); one change at a time per site (`409 busy`)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/rabbitpress",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "rabbitpress"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Deactivates RabbitPress Cache and deletes it from the site: its pages are no longer cached. A site on a server of your own keeps its licence for a later install (release it in the panel to use it on another website).\n\n**What happens next.** The answer is `202` with `busy: true`: the plugin is removed on the site's server, usually within a minute. Poll `GET /sites/{siteId}/rabbitpress` until `busy` is false. When the site's server says the plugin isn't installed and it serves none of the site's pages from the cache (`serving: false`), nothing is done and the answer is `200`.\n\n**Limits.** Live sites only, not staging copies (`409 site_unavailable`), on a running server (`409 server_unavailable`); one change at a time per site (`409 busy`)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"installed\": true,\n    \"version\": \"2.0.10\",\n    \"latestVersion\": \"2.0.10\",\n    \"serving\": true,\n    \"notServingReason\": null,\n    \"busy\": true,\n    \"licenseRequired\": false,\n    \"licenseId\": null,\n    \"lastError\": null,\n    \"blockedReason\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Media Offload",
      "description": "Keep a site's media library in cloud storage.",
      "item": [
        {
          "name": "Get Media Offload on a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns Media Offload on the site: whether it's on (`status`, or why it can't be in `blockedReason`), its settings, what storage holds (`stored`, by kind in `kinds`), files waiting to be copied or kept on the server, the delivery check, the operation running now (`run`) and earlier ones, and the storage included with the site's server (`allowance`; this month's amount so far needs `billing:read`). Figures are as the site's server last reported them (`reportedAt`), every few minutes. It can be read while Media Offload isn't open to the account too, so a site that has it can still be turned off."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns Media Offload on the site: whether it's on (`status`, or why it can't be in `blockedReason`), its settings, what storage holds (`stored`, by kind in `kinds`), files waiting to be copied or kept on the server, the delivery check, the operation running now (`run`) and earlier ones, and the storage included with the site's server (`allowance`; this month's amount so far needs `billing:read`). Figures are as the site's server last reported them (`reportedAt`), every few minutes. It can be read while Media Offload isn't open to the account too, so a site that has it can still be turned off."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": \"2026-11-02T09:14:31.000Z\",\n    \"stored\": {\n      \"files\": 18412,\n      \"bytes\": 12480000000,\n      \"freedFiles\": 0,\n      \"freedBytes\": 0\n    },\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      }\n    ],\n    \"pending\": {\n      \"files\": 0,\n      \"bytes\": 0\n    },\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"delivery\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:00:12.000Z\",\n      \"error\": null\n    },\n    \"lastSyncAt\": \"2026-11-19T10:02:40.000Z\",\n    \"lastVerify\": {\n      \"verifiedAt\": \"2026-11-16T03:04:41.000Z\",\n      \"repaired\": 0,\n      \"lost\": 0\n    },\n    \"fetchedFromStorage\": {\n      \"month\": \"2026-11\",\n      \"bytes\": 1240000000,\n      \"requests\": 5210\n    },\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [\n      {\n        \"id\": \"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"operation\": \"verify\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"filesDone\": 18412,\n        \"filesTotal\": 18412,\n        \"filesFailed\": 0,\n        \"bytesDone\": 12480000000,\n        \"bytesTotal\": 12480000000,\n        \"bytesPerSecond\": null,\n        \"filesPerSecond\": null,\n        \"etaSeconds\": null,\n        \"error\": null,\n        \"turnOffAfter\": false,\n        \"startedAt\": \"2026-11-16T03:00:05.000Z\",\n        \"finishedAt\": \"2026-11-16T03:04:41.000Z\",\n        \"createdAt\": \"2026-11-16T03:00:01.000Z\"\n      }\n    ],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": \"2026-11-19T10:02:40.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "See what turning on Media Offload would move",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/inspect",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "actions",
                "inspect"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Reads the site's media library on its server and says what turning Media Offload on (with the settings given) would move to storage, by kind of file; what would stay on the server, by reason, with the largest folders kept; the server's disk; and anything that stands in the way (`problems`, and other media offload plugins in `conflictingPlugins`). It changes nothing. A large library takes a while (up to a few minutes); an inspection with the same settings is kept 5 minutes (`fresh: true` reads it again). Up to 10 a minute.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/inspect",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "actions",
                    "inspect"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Reads the site's media library on its server and says what turning Media Offload on (with the settings given) would move to storage, by kind of file; what would stay on the server, by reason, with the largest folders kept; the server's disk; and anything that stands in the way (`problems`, and other media offload plugins in `conflictingPlugins`). It changes nothing. A large library takes a while (up to a few minutes); an inspection with the same settings is kept 5 minutes (`fresh: true` reads it again). Up to 10 a minute.",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"ready\": true,\n    \"problems\": [],\n    \"conflictingPlugins\": [],\n    \"files\": 18726,\n    \"bytes\": 12521012000,\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000\n      },\n      {\n        \"kind\": \"audio\",\n        \"files\": 0,\n        \"bytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000\n      },\n      {\n        \"kind\": \"archive\",\n        \"files\": 0,\n        \"bytes\": 0\n      },\n      {\n        \"kind\": \"font\",\n        \"files\": 0,\n        \"bytes\": 0\n      },\n      {\n        \"kind\": \"other\",\n        \"files\": 0,\n        \"bytes\": 0\n      }\n    ],\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"keptFolders\": [\n      {\n        \"folder\": \"woocommerce_uploads\",\n        \"bytes\": 41000000\n      }\n    ],\n    \"disk\": {\n      \"freeBytes\": 52300000000,\n      \"totalBytes\": 80000000000\n    },\n    \"multisite\": false,\n    \"checkedAt\": \"2026-11-19T10:05:12.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on Media Offload for a site",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesMediaOffloadEnable\")) pm.collectionVariables.set(\"idempotencyKey_sitesMediaOffloadEnable\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesMediaOffloadEnable\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesMediaOffloadEnable}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns Media Offload on: the site's media library is kept in Rabbitflare's cloud storage, and every file keeps its address, so visitors and WordPress see no change. Each server Rabbitflare creates includes storage shared by its sites (`allowance`).\n\n**Payment.** Storage beyond what the server includes is billed by use after each month ends, at the price in `allowance.extraCentsPerGbMonth`: the month's bill is paid from the wallet first, then the account's saved card, with no one on a page. So turning it on needs `billing:write` as well as `sites:write` (`403 insufficient_scope` without it, and nothing changes; `billing:write` is for tokens for all servers only: `403 all_servers_required`), the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`), and an `Idempotency-Key` header.\n\n**What happens next.** The answer is `202` with `status: \"setting_up\"`: storage is readied, the site's server is set up and its delivery checked, then the whole library is copied. Poll `GET /sites/{siteId}/media-offload` until `status` is `active`. If setting up fails, `status` is `failed` with the reason in `lastError`: try again (`POST …/actions/retry-setup`) or cancel it (`POST …/actions/cancel-setup`). On already with these settings: nothing changes and the answer is `200`. To change the settings of a site where it's on, use `PUT …/media-offload/settings`.\n\n**Limits.** Sites on servers Rabbitflare creates, not trial servers, staging copies or sites still installing (`409 site_unavailable`: `blockedReason` says why). Not while a Media Offload bill is unpaid (`402 unpaid`). `POST …/actions/inspect` shows first what would move. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesMediaOffloadEnable}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns Media Offload on: the site's media library is kept in Rabbitflare's cloud storage, and every file keeps its address, so visitors and WordPress see no change. Each server Rabbitflare creates includes storage shared by its sites (`allowance`).\n\n**Payment.** Storage beyond what the server includes is billed by use after each month ends, at the price in `allowance.extraCentsPerGbMonth`: the month's bill is paid from the wallet first, then the account's saved card, with no one on a page. So turning it on needs `billing:write` as well as `sites:write` (`403 insufficient_scope` without it, and nothing changes; `billing:write` is for tokens for all servers only: `403 all_servers_required`), the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`), and an `Idempotency-Key` header.\n\n**What happens next.** The answer is `202` with `status: \"setting_up\"`: storage is readied, the site's server is set up and its delivery checked, then the whole library is copied. Poll `GET /sites/{siteId}/media-offload` until `status` is `active`. If setting up fails, `status` is `failed` with the reason in `lastError`: try again (`POST …/actions/retry-setup`) or cancel it (`POST …/actions/cancel-setup`). On already with these settings: nothing changes and the answer is `200`. To change the settings of a site where it's on, use `PUT …/media-offload/settings`.\n\n**Limits.** Sites on servers Rabbitflare creates, not trial servers, staging copies or sites still installing (`409 site_unavailable`: `blockedReason` says why). Not while a Media Offload bill is unpaid (`402 unpaid`). `POST …/actions/inspect` shows first what would move. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).",
                "body": {
                  "mode": "raw",
                  "raw": "{}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"setting_up\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": null,\n    \"stored\": null,\n    \"kinds\": [],\n    \"pending\": null,\n    \"keptOnServer\": [],\n    \"delivery\": null,\n    \"lastSyncAt\": null,\n    \"lastVerify\": null,\n    \"fetchedFromStorage\": null,\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 0,\n      \"sites\": [],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Set Media Offload's settings for a site",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "settings"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Replaces the site's Media Offload settings: the mode (`copy`, or `free` to free up disk), how long new files stay on the server before that, the kinds of files kept in storage, and folders kept on the server. Every setting is required.\n\n**What happens next.** The answer is `202` with `settingsStatus: \"applying\"`: the site's server gets them within a minute, and files they newly include are copied. The settings it has already: nothing changes and the answer is `200` (settings that failed to apply are applied again).\n\n**Limits.** Media Offload must be on (`409 not_on`). Up to 20 changes a minute on the account (`429 rate_limited`).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mode\": \"free\",\n  \"freeAfterDays\": 14,\n  \"kinds\": [\n    \"image\",\n    \"video\",\n    \"document\"\n  ],\n  \"keep\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/settings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "settings"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Replaces the site's Media Offload settings: the mode (`copy`, or `free` to free up disk), how long new files stay on the server before that, the kinds of files kept in storage, and folders kept on the server. Every setting is required.\n\n**What happens next.** The answer is `202` with `settingsStatus: \"applying\"`: the site's server gets them within a minute, and files they newly include are copied. The settings it has already: nothing changes and the answer is `200` (settings that failed to apply are applied again).\n\n**Limits.** Media Offload must be on (`409 not_on`). Up to 20 changes a minute on the account (`429 rate_limited`).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"mode\": \"free\",\n  \"freeAfterDays\": 14,\n  \"kinds\": [\n    \"image\",\n    \"video\",\n    \"document\"\n  ],\n  \"keep\": []\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"free\",\n      \"freeAfterDays\": 14,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"document\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applying\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": \"2026-11-02T09:14:31.000Z\",\n    \"stored\": {\n      \"files\": 18412,\n      \"bytes\": 12480000000,\n      \"freedFiles\": 0,\n      \"freedBytes\": 0\n    },\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      }\n    ],\n    \"pending\": {\n      \"files\": 0,\n      \"bytes\": 0\n    },\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"delivery\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:00:12.000Z\",\n      \"error\": null\n    },\n    \"lastSyncAt\": \"2026-11-19T10:02:40.000Z\",\n    \"lastVerify\": {\n      \"verifiedAt\": \"2026-11-16T03:04:41.000Z\",\n      \"repaired\": 0,\n      \"lost\": 0\n    },\n    \"fetchedFromStorage\": {\n      \"month\": \"2026-11\",\n      \"bytes\": 1240000000,\n      \"requests\": 5210\n    },\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [\n      {\n        \"id\": \"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"operation\": \"verify\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"filesDone\": 18412,\n        \"filesTotal\": 18412,\n        \"filesFailed\": 0,\n        \"bytesDone\": 12480000000,\n        \"bytesTotal\": 12480000000,\n        \"bytesPerSecond\": null,\n        \"filesPerSecond\": null,\n        \"etaSeconds\": null,\n        \"error\": null,\n        \"turnOffAfter\": false,\n        \"startedAt\": \"2026-11-16T03:00:05.000Z\",\n        \"finishedAt\": \"2026-11-16T03:04:41.000Z\",\n        \"createdAt\": \"2026-11-16T03:00:01.000Z\"\n      }\n    ],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": \"2026-11-19T10:02:40.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Start a Media Offload operation on a site",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesMediaOffloadRunsStart\")) pm.collectionVariables.set(\"idempotencyKey_sitesMediaOffloadRunsStart\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesMediaOffloadRunsStart\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesMediaOffloadRunsStart}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/runs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "runs"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Starts an operation on the site's offloaded media: `sync` copies files that aren't in storage yet (new uploads are copied within a minute or two by themselves), `free` removes the server's copies of files storage holds (free up disk only), `verify` checks every file in storage and repairs what it can, `restore` brings every file back to the server, and `export` prepares one download of the whole media library (from the panel's Offload tab).\n\n**What happens next.** The answer is `202` with the operation in `run` (`status: \"queued\"`, then `running` with its progress). Poll `GET /sites/{siteId}/media-offload` until it's done: it then moves to `recentRuns`. A `restore` first switches the site to Copy mode, so files aren't removed again; with `turnOffAfter: true`, Media Offload is turned off once every file is back. A `restore` works while Media Offload isn't open to the account too, as it only brings files back.\n\n**Idempotency-Key required.** Doing one twice isn't doing it once: each `export` makes another copy of the whole library, kept 7 days in storage. So each request needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is started twice.\n\n**Limits.** Media Offload must be on (`409 not_on`), and one operation runs at a time per site (`409 busy`). `free` needs free up disk mode (`409 copy_mode`); `free` and `restore` wait for a staging operation on the site to finish (`409 staging_busy`). Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"operation\": \"verify\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesMediaOffloadRunsStart}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/runs",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "runs"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Starts an operation on the site's offloaded media: `sync` copies files that aren't in storage yet (new uploads are copied within a minute or two by themselves), `free` removes the server's copies of files storage holds (free up disk only), `verify` checks every file in storage and repairs what it can, `restore` brings every file back to the server, and `export` prepares one download of the whole media library (from the panel's Offload tab).\n\n**What happens next.** The answer is `202` with the operation in `run` (`status: \"queued\"`, then `running` with its progress). Poll `GET /sites/{siteId}/media-offload` until it's done: it then moves to `recentRuns`. A `restore` first switches the site to Copy mode, so files aren't removed again; with `turnOffAfter: true`, Media Offload is turned off once every file is back. A `restore` works while Media Offload isn't open to the account too, as it only brings files back.\n\n**Idempotency-Key required.** Doing one twice isn't doing it once: each `export` makes another copy of the whole library, kept 7 days in storage. So each request needs an `Idempotency-Key` (`400 idempotency_key_required` without one): the same request sent again with the same key gets the first answer, and nothing is started twice.\n\n**Limits.** Media Offload must be on (`409 not_on`), and one operation runs at a time per site (`409 busy`). `free` needs free up disk mode (`409 copy_mode`); `free` and `restore` wait for a staging operation on the site to finish (`409 staging_busy`). Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"operation\": \"verify\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": \"2026-11-02T09:14:31.000Z\",\n    \"stored\": {\n      \"files\": 18412,\n      \"bytes\": 12480000000,\n      \"freedFiles\": 0,\n      \"freedBytes\": 0\n    },\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      }\n    ],\n    \"pending\": {\n      \"files\": 0,\n      \"bytes\": 0\n    },\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"delivery\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:00:12.000Z\",\n      \"error\": null\n    },\n    \"lastSyncAt\": \"2026-11-19T10:02:40.000Z\",\n    \"lastVerify\": {\n      \"verifiedAt\": \"2026-11-16T03:04:41.000Z\",\n      \"repaired\": 0,\n      \"lost\": 0\n    },\n    \"fetchedFromStorage\": {\n      \"month\": \"2026-11\",\n      \"bytes\": 1240000000,\n      \"requests\": 5210\n    },\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": {\n      \"id\": \"d5e6f7a8-9b0c-4d1e-8f2a-3b4c5d6e7f80\",\n      \"operation\": \"verify\",\n      \"status\": \"queued\",\n      \"stage\": \"Waiting to start\",\n      \"filesDone\": 0,\n      \"filesTotal\": 0,\n      \"filesFailed\": 0,\n      \"bytesDone\": 0,\n      \"bytesTotal\": 0,\n      \"bytesPerSecond\": null,\n      \"filesPerSecond\": null,\n      \"etaSeconds\": null,\n      \"error\": null,\n      \"turnOffAfter\": false,\n      \"startedAt\": null,\n      \"finishedAt\": null,\n      \"createdAt\": \"2026-11-19T10:06:30.000Z\"\n    },\n    \"recentRuns\": [\n      {\n        \"id\": \"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"operation\": \"verify\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"filesDone\": 18412,\n        \"filesTotal\": 18412,\n        \"filesFailed\": 0,\n        \"bytesDone\": 12480000000,\n        \"bytesTotal\": 12480000000,\n        \"bytesPerSecond\": null,\n        \"filesPerSecond\": null,\n        \"etaSeconds\": null,\n        \"error\": null,\n        \"turnOffAfter\": false,\n        \"startedAt\": \"2026-11-16T03:00:05.000Z\",\n        \"finishedAt\": \"2026-11-16T03:04:41.000Z\",\n        \"createdAt\": \"2026-11-16T03:00:01.000Z\"\n      }\n    ],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": \"2026-11-19T10:02:40.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Stop a Media Offload operation",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/runs/:runId/actions/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "runs",
                ":runId",
                "actions",
                "cancel"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "runId",
                  "value": "d5e6f7a8-9b0c-4d1e-8f2a-3b4c5d6e7f80",
                  "description": "The operation's id (`run.id` in the view)."
                }
              ]
            },
            "description": "Stops an operation that's queued or running: within a few seconds it's `cancelled` (`stage` says `Stopping…` until then), and what it did so far stays done. `409 not_running` when it has finished already; `404` when the site has no operation with that id. It works while Media Offload isn't open to the account too, as it only takes something away."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/runs/:runId/actions/cancel",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "runs",
                    ":runId",
                    "actions",
                    "cancel"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "runId",
                      "value": "d5e6f7a8-9b0c-4d1e-8f2a-3b4c5d6e7f80",
                      "description": "The operation's id (`run.id` in the view)."
                    }
                  ]
                },
                "description": "Stops an operation that's queued or running: within a few seconds it's `cancelled` (`stage` says `Stopping…` until then), and what it did so far stays done. `409 not_running` when it has finished already; `404` when the site has no operation with that id. It works while Media Offload isn't open to the account too, as it only takes something away."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"active\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": \"2026-11-02T09:14:31.000Z\",\n    \"stored\": {\n      \"files\": 18412,\n      \"bytes\": 12480000000,\n      \"freedFiles\": 0,\n      \"freedBytes\": 0\n    },\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      }\n    ],\n    \"pending\": {\n      \"files\": 0,\n      \"bytes\": 0\n    },\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"delivery\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:00:12.000Z\",\n      \"error\": null\n    },\n    \"lastSyncAt\": \"2026-11-19T10:02:40.000Z\",\n    \"lastVerify\": {\n      \"verifiedAt\": \"2026-11-16T03:04:41.000Z\",\n      \"repaired\": 0,\n      \"lost\": 0\n    },\n    \"fetchedFromStorage\": {\n      \"month\": \"2026-11\",\n      \"bytes\": 1240000000,\n      \"requests\": 5210\n    },\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": {\n      \"id\": \"d5e6f7a8-9b0c-4d1e-8f2a-3b4c5d6e7f80\",\n      \"operation\": \"verify\",\n      \"status\": \"running\",\n      \"stage\": \"Stopping…\",\n      \"filesDone\": 6210,\n      \"filesTotal\": 18412,\n      \"filesFailed\": 0,\n      \"bytesDone\": 0,\n      \"bytesTotal\": 0,\n      \"bytesPerSecond\": null,\n      \"filesPerSecond\": null,\n      \"etaSeconds\": null,\n      \"error\": null,\n      \"turnOffAfter\": false,\n      \"startedAt\": \"2026-11-19T10:06:31.000Z\",\n      \"finishedAt\": null,\n      \"createdAt\": \"2026-11-19T10:06:30.000Z\"\n    },\n    \"recentRuns\": [\n      {\n        \"id\": \"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"operation\": \"verify\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"filesDone\": 18412,\n        \"filesTotal\": 18412,\n        \"filesFailed\": 0,\n        \"bytesDone\": 12480000000,\n        \"bytesTotal\": 12480000000,\n        \"bytesPerSecond\": null,\n        \"filesPerSecond\": null,\n        \"etaSeconds\": null,\n        \"error\": null,\n        \"turnOffAfter\": false,\n        \"startedAt\": \"2026-11-16T03:00:05.000Z\",\n        \"finishedAt\": \"2026-11-16T03:04:41.000Z\",\n        \"createdAt\": \"2026-11-16T03:00:01.000Z\"\n      }\n    ],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": \"2026-11-19T10:02:40.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Try setting up Media Offload again",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/retry-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "actions",
                "retry-setup"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Tries setting Media Offload up again after it failed (`status: \"failed\"`). The answer is `202` with `status: \"setting_up\"`; poll `GET /sites/{siteId}/media-offload` until it's `active`. `409 not_failed` when there's nothing to try again; `409 site_unavailable` when the site can't have it now (`blockedReason`). Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).\n\n**Scopes and card charges.** Set up, it's billed by use after each month, as turning it on is: it needs `billing:write` as well as `sites:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`), and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`, and nothing changes)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/retry-setup",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "actions",
                    "retry-setup"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Tries setting Media Offload up again after it failed (`status: \"failed\"`). The answer is `202` with `status: \"setting_up\"`; poll `GET /sites/{siteId}/media-offload` until it's `active`. `409 not_failed` when there's nothing to try again; `409 site_unavailable` when the site can't have it now (`blockedReason`). Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC).\n\n**Scopes and card charges.** Set up, it's billed by use after each month, as turning it on is: it needs `billing:write` as well as `sites:write` (`403 insufficient_scope` without it; `billing:write` is for tokens for all servers only, so a token limited to some servers is refused with `403 all_servers_required`), and the account's agreement to card charges, given once in the panel's Billing (`403 charges_not_authorized`, and nothing changes)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"setting_up\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": null,\n    \"stored\": null,\n    \"kinds\": [],\n    \"pending\": null,\n    \"keptOnServer\": [],\n    \"delivery\": null,\n    \"lastSyncAt\": null,\n    \"lastVerify\": null,\n    \"fetchedFromStorage\": null,\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 0,\n      \"sites\": [],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Cancel a Media Offload setup that failed",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/cancel-setup",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "actions",
                "cancel-setup"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Gives up on a setup that failed (`status: \"failed\"`): what was set up is taken away, and Media Offload goes back to off. The answer is `202` with `status: \"turning_off\"`, then `off`. `409 not_failed` unless setting up failed. It works while Media Offload isn't open to the account too, as it only takes something away. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/cancel-setup",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "actions",
                    "cancel-setup"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Gives up on a setup that failed (`status: \"failed\"`): what was set up is taken away, and Media Offload goes back to off. The answer is `202` with `status: \"turning_off\"`, then `off`. `409 not_failed` unless setting up failed. It works while Media Offload isn't open to the account too, as it only takes something away. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"turning_off\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": null,\n    \"stored\": null,\n    \"kinds\": [],\n    \"pending\": null,\n    \"keptOnServer\": [],\n    \"delivery\": null,\n    \"lastSyncAt\": null,\n    \"lastVerify\": null,\n    \"fetchedFromStorage\": null,\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 0,\n      \"sites\": [],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off Media Offload for a site",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "media-offload",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns Media Offload off: the site serves every file from its server again. Storage keeps the site's files 7 days, so turning it on again soon finds them there; then they're deleted. It works while Media Offload isn't open to the account too, as it only takes something away.\n\n**What happens next.** The answer is `202` with `status: \"turning_off\"`, then `off`. Off already (or being turned off): nothing changes and the answer is `200`.\n\n**Limits.** Every file must be on the server: with files only in storage (free up disk mode, `stored.freedFiles`), it's refused (`409 files_in_storage`). Start a `restore` operation with `turnOffAfter: true` instead: it brings them back, then turns Media Offload off. Not while an operation runs (`409 busy`). A setup that failed is cancelled with `POST …/actions/cancel-setup`. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/media-offload/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "media-offload",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns Media Offload off: the site serves every file from its server again. Storage keeps the site's files 7 days, so turning it on again soon finds them there; then they're deleted. It works while Media Offload isn't open to the account too, as it only takes something away.\n\n**What happens next.** The answer is `202` with `status: \"turning_off\"`, then `off`. Off already (or being turned off): nothing changes and the answer is `200`.\n\n**Limits.** Every file must be on the server: with files only in storage (free up disk mode, `stored.freedFiles`), it's refused (`409 files_in_storage`). Start a `restore` operation with `turnOffAfter: true` instead: it brings them back, then turns Media Offload off. Not while an operation runs (`409 busy`). A setup that failed is cancelled with `POST …/actions/cancel-setup`. Up to 20 changes a minute on the account (`429 rate_limited`). Setting Media Offload up for a site and taking it away (turning it on or off, a setup tried again or cancelled, a restore that turns it off after, cloning a site that has it) is limited to 200 a day per account (`429 rate_limited`; a day ends at 00:00 UTC)."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"turning_off\",\n    \"blockedReason\": null,\n    \"settings\": {\n      \"mode\": \"copy\",\n      \"freeAfterDays\": 7,\n      \"kinds\": [\n        \"image\",\n        \"video\",\n        \"audio\",\n        \"document\",\n        \"archive\",\n        \"font\"\n      ],\n      \"keep\": []\n    },\n    \"settingsStatus\": \"applied\",\n    \"lastError\": null,\n    \"pausedReason\": null,\n    \"enabledAt\": \"2026-11-02T09:14:31.000Z\",\n    \"stored\": {\n      \"files\": 18412,\n      \"bytes\": 12480000000,\n      \"freedFiles\": 0,\n      \"freedBytes\": 0\n    },\n    \"kinds\": [\n      {\n        \"kind\": \"image\",\n        \"files\": 18120,\n        \"bytes\": 9870000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"video\",\n        \"files\": 12,\n        \"bytes\": 2410000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      },\n      {\n        \"kind\": \"document\",\n        \"files\": 280,\n        \"bytes\": 200000000,\n        \"freedFiles\": 0,\n        \"freedBytes\": 0\n      }\n    ],\n    \"pending\": {\n      \"files\": 0,\n      \"bytes\": 0\n    },\n    \"keptOnServer\": [\n      {\n        \"reason\": \"folder\",\n        \"files\": 310,\n        \"bytes\": 41000000\n      },\n      {\n        \"reason\": \"code\",\n        \"files\": 4,\n        \"bytes\": 12000\n      }\n    ],\n    \"delivery\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:00:12.000Z\",\n      \"error\": null\n    },\n    \"lastSyncAt\": \"2026-11-19T10:02:40.000Z\",\n    \"lastVerify\": {\n      \"verifiedAt\": \"2026-11-16T03:04:41.000Z\",\n      \"repaired\": 0,\n      \"lost\": 0\n    },\n    \"fetchedFromStorage\": {\n      \"month\": \"2026-11\",\n      \"bytes\": 1240000000,\n      \"requests\": 5210\n    },\n    \"popularFiles\": 0,\n    \"freeingPaused\": false,\n    \"failedFiles\": [],\n    \"conflictingPlugins\": [],\n    \"run\": null,\n    \"recentRuns\": [\n      {\n        \"id\": \"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n        \"operation\": \"verify\",\n        \"status\": \"done\",\n        \"stage\": null,\n        \"filesDone\": 18412,\n        \"filesTotal\": 18412,\n        \"filesFailed\": 0,\n        \"bytesDone\": 12480000000,\n        \"bytesTotal\": 12480000000,\n        \"bytesPerSecond\": null,\n        \"filesPerSecond\": null,\n        \"etaSeconds\": null,\n        \"error\": null,\n        \"turnOffAfter\": false,\n        \"startedAt\": \"2026-11-16T03:00:05.000Z\",\n        \"finishedAt\": \"2026-11-16T03:04:41.000Z\",\n        \"createdAt\": \"2026-11-16T03:00:01.000Z\"\n      }\n    ],\n    \"export\": null,\n    \"allowance\": {\n      \"includedBytes\": 100000000000,\n      \"usedBytes\": 12480000000,\n      \"sites\": [\n        {\n          \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n          \"name\": \"Shop\",\n          \"bytes\": 12480000000\n        }\n      ],\n      \"extraCentsPerGbMonth\": 2.085,\n      \"monthToDateCents\": 0,\n      \"currency\": \"usd\"\n    },\n    \"reportedAt\": \"2026-11-19T10:02:40.000Z\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Rabbitflare SMTP",
      "description": "Send a site's WordPress emails through Rabbitflare.",
      "item": [
        {
          "name": "Get Rabbitflare SMTP on a site",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Returns Rabbitflare SMTP on the site: whether it's on (`status`, `enabled`) or stopped (`hold`), whether the account may turn it on (`eligible`), the sender recipients see (`from`), the limits and what the site sent against them (`usage`), its notice and reply addresses, and its latest emails with what happened to each (`recentEmails`). The emails' recipients and subjects and the team's sign-in addresses are people's details, so every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Returns Rabbitflare SMTP on the site: whether it's on (`status`, `enabled`) or stopped (`hold`), whether the account may turn it on (`eligible`), the sender recipients see (`from`), the limits and what the site sent against them (`usage`), its notice and reply addresses, and its latest emails with what happened to each (`recentEmails`). The emails' recipients and subjects and the team's sign-in addresses are people's details, so every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": \"orders@example.com\",\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      },\n      {\n        \"id\": \"6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d\",\n        \"kind\": \"reply\",\n        \"address\": \"orders@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": \"2026-10-28T14:25:40.000Z\",\n        \"source\": \"added\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn on Rabbitflare SMTP for a site",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/enable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "actions",
                "enable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns Rabbitflare SMTP on: WordPress's own emails (password resets, new accounts, account changes, admin notices and order emails) are sent through Rabbitflare, from the address in `from`. Turning it on is included. Each site sends a number of emails a day included (`limits`); once the account has bought email credit in the panel, emails beyond the included ones are paid from it, and without credit they're refused (`no_credit` in `recentEmails`).\n\n**What happens next.** The answer is `202` with `status: \"setting_up\"`: the site's server is set up, usually within a minute. Poll `GET /sites/{siteId}/smtp` until `status` is `on`; `failed` comes with the reason in `lastError` (turn it on again to retry). On already: the answer is `200` as it is.\n\n**Limits.** The site's server must be paid and running, not a free trial, and the account's email address confirmed (`409 not_eligible`; `eligible` says why); not for staging copies or sites still installing (`409 site_unavailable`). A stop on the site is lifted only as `hold` says (`409 paused`, `checking` or `suspended`). A site's first 14 days have lower limits. Up to 30 changes a minute.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/enable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "actions",
                    "enable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns Rabbitflare SMTP on: WordPress's own emails (password resets, new accounts, account changes, admin notices and order emails) are sent through Rabbitflare, from the address in `from`. Turning it on is included. Each site sends a number of emails a day included (`limits`); once the account has bought email credit in the panel, emails beyond the included ones are paid from it, and without credit they're refused (`no_credit` in `recentEmails`).\n\n**What happens next.** The answer is `202` with `status: \"setting_up\"`: the site's server is set up, usually within a minute. Poll `GET /sites/{siteId}/smtp` until `status` is `on`; `failed` comes with the reason in `lastError` (turn it on again to retry). On already: the answer is `200` as it is.\n\n**Limits.** The site's server must be paid and running, not a free trial, and the account's email address confirmed (`409 not_eligible`; `eligible` says why); not for staging copies or sites still installing (`409 site_unavailable`). A stop on the site is lifted only as `hold` says (`409 paused`, `checking` or `suspended`). A site's first 14 days have lower limits. Up to 30 changes a minute.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"setting_up\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": false,\n      \"checkedAt\": null\n    },\n    \"firstOnAt\": \"2026-11-19T10:12:05.000Z\",\n    \"newSiteEndsAt\": \"2026-12-03T10:12:05.000Z\",\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": null,\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": null,\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn off Rabbitflare SMTP for a site",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/disable",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "actions",
                "disable"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Turns Rabbitflare SMTP off: its plugin is removed from the site, and WordPress sends emails as it did before. A stop on the site (`hold`) stays. The answer is `202` with `status: \"turning_off\"`, then `off`; off already, the answer is `200` as it is. It works while Rabbitflare SMTP isn't open to the account too, as it only takes something away (then a site where it's off already answers `409 not_on`). Up to 30 changes a minute.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/disable",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "actions",
                    "disable"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Turns Rabbitflare SMTP off: its plugin is removed from the site, and WordPress sends emails as it did before. A stop on the site (`hold`) stays. The answer is `202` with `status: \"turning_off\"`, then `off`; off already, the answer is `200` as it is. It works while Rabbitflare SMTP isn't open to the account too, as it only takes something away (then a site where it's off already answers `409 not_on`). Up to 30 changes a minute.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
              },
              "status": "Accepted",
              "code": 202,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"turning_off\",\n    \"enabled\": false,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": \"orders@example.com\",\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      },\n      {\n        \"id\": \"6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d\",\n        \"kind\": \"reply\",\n        \"address\": \"orders@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": \"2026-10-28T14:25:40.000Z\",\n        \"source\": \"added\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Turn Rabbitflare SMTP on again after a pause",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/resume",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "actions",
                "resume"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Lifts a first automatic pause on the site's emails, once `hold.canResume` is true (an hour after the pause): check first what the site sends and to whom. Only a first pause can be lifted this way; others only by Rabbitflare support (`409 cannot_resume`, with the reason). `409 not_held` when the site's emails aren't stopped.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/actions/resume",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "actions",
                    "resume"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Lifts a first automatic pause on the site's emails, once `hold.canResume` is true (an hour after the pause): check first what the site sends and to whom. Only a first pause can be lifted this way; others only by Rabbitflare support (`409 cannot_resume`, with the reason). `409 not_held` when the site's emails aren't stopped.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": \"orders@example.com\",\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      },\n      {\n        \"id\": \"6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d\",\n        \"kind\": \"reply\",\n        \"address\": \"orders@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": \"2026-10-28T14:25:40.000Z\",\n        \"source\": \"added\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a notice or reply address to a site's SMTP",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesSmtpAddressesAdd\")) pm.collectionVariables.set(\"idempotencyKey_sitesSmtpAddressesAdd\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesSmtpAddressesAdd\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesSmtpAddressesAdd}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "addresses"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                }
              ]
            },
            "description": "Adds an address to the site's Rabbitflare SMTP: a `notice` address admin notices may go to, or the `reply` address the site's emails carry. A confirmation email is sent to it, and it's used once its owner confirms it from the link.\n\nThe answer is `201` with the view, the new address in `addresses`; its `Location` is the address (`GET /sites/{siteId}/smtp/addresses/{addressId}`). An address the site has already that's still waiting for its owner gets its confirmation email again, with a new link, and nothing is added: the answer is `200`. One confirmed already (the account's own addresses are): nothing is sent and the answer is `200`.\n\n**Idempotency-Key required.** Each confirmation email has a new link (the one before stops working) and counts in the account's 3 a day, so a request sent again must not send another: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), and the same request sent again with the same key gets the first answer.\n\n**Limits.** Rabbitflare SMTP must have been turned on for the site (`409 not_on`). Up to 5 added notice addresses (`409 too_many_addresses`) and one reply address (`409 reply_exists`) per site. An account sends up to 3 confirmation emails in 24 hours (`429 rate_limited`: `Retry-After` says when the oldest of them is a day old).\n\n**Scopes.** It needs `sites:read` as well as `sites:write` (`403 insufficient_scope` without it): whether an address is new (`201`) or one the site has already (`200`), the account's own sign-in addresses included, is what `sites:read` shows. The answer is the site's whole view, and every call is written to the token's request log.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"notice\",\n  \"address\": \"shop.manager@example.com\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesSmtpAddressesAdd}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "addresses"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    }
                  ]
                },
                "description": "Adds an address to the site's Rabbitflare SMTP: a `notice` address admin notices may go to, or the `reply` address the site's emails carry. A confirmation email is sent to it, and it's used once its owner confirms it from the link.\n\nThe answer is `201` with the view, the new address in `addresses`; its `Location` is the address (`GET /sites/{siteId}/smtp/addresses/{addressId}`). An address the site has already that's still waiting for its owner gets its confirmation email again, with a new link, and nothing is added: the answer is `200`. One confirmed already (the account's own addresses are): nothing is sent and the answer is `200`.\n\n**Idempotency-Key required.** Each confirmation email has a new link (the one before stops working) and counts in the account's 3 a day, so a request sent again must not send another: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), and the same request sent again with the same key gets the first answer.\n\n**Limits.** Rabbitflare SMTP must have been turned on for the site (`409 not_on`). Up to 5 added notice addresses (`409 too_many_addresses`) and one reply address (`409 reply_exists`) per site. An account sends up to 3 confirmation emails in 24 hours (`429 rate_limited`: `Retry-After` says when the oldest of them is a day old).\n\n**Scopes.** It needs `sites:read` as well as `sites:write` (`403 insufficient_scope` without it): whether an address is new (`201`) or one the site has already (`200`), the account's own sign-in addresses included, is what `sites:read` shows. The answer is the site's whole view, and every call is written to the token's request log.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"kind\": \"notice\",\n  \"address\": \"shop.manager@example.com\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": \"orders@example.com\",\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      },\n      {\n        \"id\": \"6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d\",\n        \"kind\": \"reply\",\n        \"address\": \"orders@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": \"2026-10-28T14:25:40.000Z\",\n        \"source\": \"added\"\n      },\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"notice\",\n        \"address\": \"shop.manager@example.com\",\n        \"confirmed\": false,\n        \"confirmationSentAt\": \"2026-11-19T10:14:22.000Z\",\n        \"source\": \"added\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Send an address's confirmation email again",
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// The Idempotency-Key: made once, and kept while this same request is sent again, so it's only done once.",
                  "if (!pm.collectionVariables.get(\"idempotencyKey_sitesSmtpAddressesSendConfirmation\")) pm.collectionVariables.set(\"idempotencyKey_sitesSmtpAddressesSendConfirmation\", pm.variables.replaceIn(\"{{$guid}}\"));"
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "// Keep the key when sending the same request again is the thing to do: a rate limit, the first request still",
                  "// running, or an error on our side (check the resource before you buy again). Otherwise the next request gets a new key.",
                  "let code = null;",
                  "try { code = pm.response.json().error.code; } catch (e) { code = null; }",
                  "if (pm.response.code < 500 && pm.response.code !== 429 && code !== \"idempotency_in_progress\") pm.collectionVariables.unset(\"idempotencyKey_sitesSmtpAddressesSendConfirmation\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey_sitesSmtpAddressesSendConfirmation}}",
                "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId/actions/send-confirmation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "addresses",
                ":addressId",
                "actions",
                "send-confirmation"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "addressId",
                  "value": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
                  "description": "The address's id (`addresses[].id` in the view)."
                }
              ]
            },
            "description": "Sends the confirmation email to an address that isn't confirmed yet, with a new link (the one sent before stops working). `409 already_confirmed` when it's confirmed; the account's own addresses need none (`409 own_address`). An account sends up to 3 confirmation emails in 24 hours (`429 rate_limited`: `Retry-After` says when the oldest of them is a day old).\n\n**Idempotency-Key required.** A request sent again must not send another email: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), and the same request sent again with the same key gets the first answer.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Idempotency-Key",
                    "value": "{{idempotencyKey_sitesSmtpAddressesSendConfirmation}}",
                    "description": "Required. Made by the pre-request script when the variable is empty, and kept while you send this same request again."
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId/actions/send-confirmation",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "addresses",
                    ":addressId",
                    "actions",
                    "send-confirmation"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "addressId",
                      "value": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
                      "description": "The address's id (`addresses[].id` in the view)."
                    }
                  ]
                },
                "description": "Sends the confirmation email to an address that isn't confirmed yet, with a new link (the one sent before stops working). `409 already_confirmed` when it's confirmed; the account's own addresses need none (`409 own_address`). An account sends up to 3 confirmation emails in 24 hours (`429 rate_limited`: `Retry-After` says when the oldest of them is a day old).\n\n**Idempotency-Key required.** A request sent again must not send another email: each needs an `Idempotency-Key` (`400 idempotency_key_required` without one), and the same request sent again with the same key gets the first answer.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": \"orders@example.com\",\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      },\n      {\n        \"id\": \"6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d\",\n        \"kind\": \"reply\",\n        \"address\": \"orders@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": \"2026-10-28T14:25:40.000Z\",\n        \"source\": \"added\"\n      },\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"notice\",\n        \"address\": \"shop.manager@example.com\",\n        \"confirmed\": false,\n        \"confirmationSentAt\": \"2026-11-19T11:02:09.000Z\",\n        \"source\": \"added\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove an address from a site's SMTP",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "addresses",
                ":addressId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "addressId",
                  "value": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
                  "description": "The address's id (`addresses[].id` in the view)."
                }
              ]
            },
            "description": "Removes an address added to the site: admin notices stop going to it, and a reply address stops being used at once. Answers the view without it. The account's own addresses can't be removed (`409 own_address`): a team member's goes when they leave the team. It works while Rabbitflare SMTP isn't open to the account too, as it only takes something away.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "DELETE",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "addresses",
                    ":addressId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "addressId",
                      "value": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
                      "description": "The address's id (`addresses[].id` in the view)."
                    }
                  ]
                },
                "description": "Removes an address added to the site: admin notices stop going to it, and a reply address stops being used at once. Answers the view without it. The account's own addresses can't be removed (`409 own_address`): a team member's goes when they leave the team. It works while Rabbitflare SMTP isn't open to the account too, as it only takes something away.\n\nThe answer is the site's view, as `GET /sites/{siteId}/smtp` gives it to a token with `sites:read`. Without `sites:read`, it leaves out people's details: whom the site's recent emails went to (`recentEmails` and `suggestedNoticeAddresses` are empty), the sign-in addresses of the account's owner and team (`addresses` holds only the ones added to the site) and what the site sent (`usage` is null). Every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"status\": \"on\",\n    \"enabled\": true,\n    \"blockedReason\": null,\n    \"eligible\": {\n      \"ok\": true,\n      \"code\": null,\n      \"message\": null\n    },\n    \"lastError\": null,\n    \"hold\": null,\n    \"accountOff\": null,\n    \"wpMailReplaced\": false,\n    \"pluginCheck\": {\n      \"ok\": true,\n      \"checkedAt\": \"2026-11-19T10:01:00.000Z\"\n    },\n    \"firstOnAt\": \"2026-10-28T14:20:11.000Z\",\n    \"newSiteEndsAt\": null,\n    \"from\": \"\\\"shop.example.com\\\" <shop-x7k2p@sitemail.rabbitflare.com>\",\n    \"replyTo\": null,\n    \"limits\": {\n      \"perSite10Min\": 5,\n      \"perSiteDay\": 50,\n      \"perAccountDay\": 150,\n      \"newRecipientsPerDay\": 15,\n      \"newSitePerDay\": 10,\n      \"newRecipientsPerDayFirst14\": 5,\n      \"perRecipientHour\": 3,\n      \"perRecipientDay\": 10,\n      \"noticePerSiteDay\": 10,\n      \"noticeAddressesPerSite\": 5\n    },\n    \"usage\": {\n      \"tenMinutes\": {\n        \"used\": 1,\n        \"limit\": 5\n      },\n      \"today\": {\n        \"used\": 12,\n        \"limit\": 50\n      },\n      \"account\": {\n        \"used\": 19,\n        \"limit\": 150\n      },\n      \"newRecipients\": {\n        \"used\": 4,\n        \"limit\": 15\n      },\n      \"notices\": {\n        \"used\": 2,\n        \"limit\": 10\n      },\n      \"refusedToday\": 0,\n      \"paidToday\": 0,\n      \"days\": [\n        {\n          \"date\": \"2026-11-18\",\n          \"sent\": 14,\n          \"delivered\": 14,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        },\n        {\n          \"date\": \"2026-11-19\",\n          \"sent\": 12,\n          \"delivered\": 11,\n          \"bounced\": 0,\n          \"complained\": 0,\n          \"refused\": 0\n        }\n      ]\n    },\n    \"addresses\": [\n      {\n        \"id\": \"account:0b9f2c1e-6d3a-4f7e-9a51-2c8e4b7d1f60\",\n        \"kind\": \"notice\",\n        \"address\": \"you@example.com\",\n        \"confirmed\": true,\n        \"confirmationSentAt\": null,\n        \"source\": \"account\"\n      }\n    ],\n    \"suggestedNoticeAddresses\": [],\n    \"recentEmails\": [\n      {\n        \"id\": \"2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f\",\n        \"sentAt\": \"2026-11-19T09:58:03.000Z\",\n        \"type\": \"order\",\n        \"to\": \"customer@example.net\",\n        \"subject\": \"Your Shop order has been received!\",\n        \"status\": \"delivered\",\n        \"code\": null,\n        \"reason\": null,\n        \"paid\": false\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Get an address of a site's SMTP",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "sites",
                ":siteId",
                "smtp",
                "addresses",
                ":addressId"
              ],
              "variable": [
                {
                  "key": "siteId",
                  "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                  "description": "The site's id."
                },
                {
                  "key": "addressId",
                  "value": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
                  "description": "The address's id (`addresses[].id` in the view)."
                }
              ]
            },
            "description": "Returns one of the site's notice and reply addresses, as in `addresses` of the view: whether its owner confirmed it, and when its confirmation email was last sent. It's where `POST /sites/{siteId}/smtp/addresses` points (`Location`). An address that isn't the site's answers `404`. It holds a person's address, so every call is written to the token's request log."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/sites/:siteId/smtp/addresses/:addressId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "sites",
                    ":siteId",
                    "smtp",
                    "addresses",
                    ":addressId"
                  ],
                  "variable": [
                    {
                      "key": "siteId",
                      "value": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
                      "description": "The site's id."
                    },
                    {
                      "key": "addressId",
                      "value": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
                      "description": "The address's id (`addresses[].id` in the view)."
                    }
                  ]
                },
                "description": "Returns one of the site's notice and reply addresses, as in `addresses` of the view: whether its owner confirmed it, and when its confirmation email was last sent. It's where `POST /sites/{siteId}/smtp/addresses` points (`Location`). An address that isn't the site's answers `404`. It holds a person's address, so every call is written to the token's request log."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n    \"kind\": \"notice\",\n    \"address\": \"shop.manager@example.com\",\n    \"confirmed\": false,\n    \"confirmationSentAt\": \"2026-11-19T10:14:22.000Z\",\n    \"source\": \"added\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Support tickets",
      "description": "Open support tickets and answer them.",
      "item": [
        {
          "name": "List support tickets",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets?status=answered",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "answered",
                  "description": "Only tickets in this status: `open` (waiting for support), `answered` (waiting for you) or `closed`."
                }
              ]
            },
            "description": "Lists the account's support tickets, the most recently active first (by `lastMessageAt`), without their conversations: `GET /tickets/{ticketRef}` has a ticket's messages. The 200 most recently active tickets are listed; an older one is read by its id.\n\nA token limited to some servers lists the account's general tickets and those about its servers."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/tickets?status=answered",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "answered",
                      "description": "Only tickets in this status: `open` (waiting for support), `answered` (waiting for you) or `closed`."
                    }
                  ]
                },
                "description": "Lists the account's support tickets, the most recently active first (by `lastMessageAt`), without their conversations: `GET /tickets/{ticketRef}` has a ticket's messages. The 200 most recently active tickets are listed; an older one is read by its id.\n\nA token limited to some servers lists the account's general tickets and those about its servers."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"RF-7KQ2MX\",\n      \"subject\": \"Checkout page shows a 502 error\",\n      \"status\": \"answered\",\n      \"topic\": \"server\",\n      \"priority\": \"high\",\n      \"about\": \"Site: Shop\",\n      \"messageCount\": 2,\n      \"preview\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa\",\n      \"lastMessageAt\": \"2026-11-16T10:12:40.000Z\",\n      \"lastReplyBy\": \"support\",\n      \"autoCloseAt\": \"2026-11-22T10:13:05.000Z\",\n      \"remindersSent\": 1,\n      \"rating\": null,\n      \"createdAt\": \"2026-11-16T09:58:02.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Open a support ticket",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tickets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets"
              ]
            },
            "description": "Opens a support ticket with your first message, about the account in general or about one of its sites or servers (`siteId` or `serverId`). Support is told at once, and their answer comes by email to the account's address, in the panel, and here. The account's address also gets an email saying the ticket was received.\n\nTo send files with it, upload each one first (`PUT /tickets/uploads`), then name them in `fileIds`: up to 5 files, together up to 25 MB. Up to 10 new tickets an hour (`429 rate_limited`). `Location` is the new ticket's address.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"subject\": \"Checkout page shows a 502 error\",\n  \"topic\": \"server\",\n  \"priority\": \"high\",\n  \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n  \"message\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n  \"fileIds\": [\n    \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tickets",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets"
                  ]
                },
                "description": "Opens a support ticket with your first message, about the account in general or about one of its sites or servers (`siteId` or `serverId`). Support is told at once, and their answer comes by email to the account's address, in the panel, and here. The account's address also gets an email saying the ticket was received.\n\nTo send files with it, upload each one first (`PUT /tickets/uploads`), then name them in `fileIds`: up to 5 files, together up to 25 MB. Up to 10 new tickets an hour (`429 rate_limited`). `Location` is the new ticket's address.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"subject\": \"Checkout page shows a 502 error\",\n  \"topic\": \"server\",\n  \"priority\": \"high\",\n  \"siteId\": \"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d\",\n  \"message\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n  \"fileIds\": [\n    \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"open\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 1,\n    \"preview\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n    \"lastMessageAt\": \"2026-11-16T09:58:02.000Z\",\n    \"lastReplyBy\": \"customer\",\n    \"autoCloseAt\": null,\n    \"remindersSent\": 0,\n    \"rating\": null,\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      }\n    ],\n    \"history\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a support ticket",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                }
              ]
            },
            "description": "Answers a ticket with its whole conversation, oldest message first, each message with its files (`GET /tickets/{ticketRef}/files/{fileId}` downloads one), and its history: reminders, closing and reopening."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/tickets/:ticketRef",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    ":ticketRef"
                  ],
                  "variable": [
                    {
                      "key": "ticketRef",
                      "value": "RF-7KQ2MX",
                      "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                    }
                  ]
                },
                "description": "Answers a ticket with its whole conversation, oldest message first, each message with its files (`GET /tickets/{ticketRef}/files/{fileId}` downloads one), and its history: reminders, closing and reopening."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"answered\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 2,\n    \"preview\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa\",\n    \"lastMessageAt\": \"2026-11-16T10:12:40.000Z\",\n    \"lastReplyBy\": \"support\",\n    \"autoCloseAt\": \"2026-11-22T10:13:05.000Z\",\n    \"remindersSent\": 1,\n    \"rating\": null,\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      },\n      {\n        \"id\": \"2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d\",\n        \"author\": \"support\",\n        \"authorName\": \"Rabbitflare Support\",\n        \"body\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?\",\n        \"html\": \"<p>Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?</p>\",\n        \"via\": \"email\",\n        \"createdAt\": \"2026-11-16T10:12:40.000Z\",\n        \"files\": []\n      }\n    ],\n    \"history\": [\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"reminder\",\n        \"by\": null,\n        \"createdAt\": \"2026-11-18T10:13:05.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Reply to a support ticket",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef",
                "messages"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                }
              ]
            },
            "description": "Adds your message to the ticket's conversation. Support is told at once, and their answer comes by email to the account's address, in the panel, and here. The ticket goes back to support's queue (`status` becomes `open`), and a closed ticket is reopened.\n\nTo send files with it, upload each one first (`PUT /tickets/uploads`), then name them in `fileIds`: up to 5 files, together up to 25 MB. Up to 60 replies an hour (`429 rate_limited`). Answers the ticket as it is now, your message last; `Location` is the ticket's address.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"message\": \"Orders go through again. Thank you!\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tickets/:ticketRef/messages",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    ":ticketRef",
                    "messages"
                  ],
                  "variable": [
                    {
                      "key": "ticketRef",
                      "value": "RF-7KQ2MX",
                      "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                    }
                  ]
                },
                "description": "Adds your message to the ticket's conversation. Support is told at once, and their answer comes by email to the account's address, in the panel, and here. The ticket goes back to support's queue (`status` becomes `open`), and a closed ticket is reopened.\n\nTo send files with it, upload each one first (`PUT /tickets/uploads`), then name them in `fileIds`: up to 5 files, together up to 25 MB. Up to 60 replies an hour (`429 rate_limited`). Answers the ticket as it is now, your message last; `Location` is the ticket's address.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"message\": \"Orders go through again. Thank you!\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"open\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 3,\n    \"preview\": \"Orders go through again. Thank you!\",\n    \"lastMessageAt\": \"2026-11-19T08:28:30.000Z\",\n    \"lastReplyBy\": \"customer\",\n    \"autoCloseAt\": null,\n    \"remindersSent\": 0,\n    \"rating\": null,\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      },\n      {\n        \"id\": \"2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d\",\n        \"author\": \"support\",\n        \"authorName\": \"Rabbitflare Support\",\n        \"body\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?\",\n        \"html\": \"<p>Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?</p>\",\n        \"via\": \"email\",\n        \"createdAt\": \"2026-11-16T10:12:40.000Z\",\n        \"files\": []\n      },\n      {\n        \"id\": \"6f7a8b9c-0d1e-4f2a-b3c4-d5e6f7a8b9c0\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Orders go through again. Thank you!\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-19T08:28:30.000Z\",\n        \"files\": []\n      }\n    ],\n    \"history\": [\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"reminder\",\n        \"by\": null,\n        \"createdAt\": \"2026-11-18T10:13:05.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Close a support ticket",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef/actions/close",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef",
                "actions",
                "close"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                }
              ]
            },
            "description": "Closes the ticket when you need nothing more on it. A ticket already closed is answered as it is. A new message, yours or support's, reopens it."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/tickets/:ticketRef/actions/close",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    ":ticketRef",
                    "actions",
                    "close"
                  ],
                  "variable": [
                    {
                      "key": "ticketRef",
                      "value": "RF-7KQ2MX",
                      "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                    }
                  ]
                },
                "description": "Closes the ticket when you need nothing more on it. A ticket already closed is answered as it is. A new message, yours or support's, reopens it."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"closed\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 2,\n    \"preview\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa\",\n    \"lastMessageAt\": \"2026-11-16T10:12:40.000Z\",\n    \"lastReplyBy\": \"support\",\n    \"autoCloseAt\": null,\n    \"remindersSent\": 0,\n    \"rating\": null,\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      },\n      {\n        \"id\": \"2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d\",\n        \"author\": \"support\",\n        \"authorName\": \"Rabbitflare Support\",\n        \"body\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?\",\n        \"html\": \"<p>Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?</p>\",\n        \"via\": \"email\",\n        \"createdAt\": \"2026-11-16T10:12:40.000Z\",\n        \"files\": []\n      }\n    ],\n    \"history\": [\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"reminder\",\n        \"by\": null,\n        \"createdAt\": \"2026-11-18T10:13:05.000Z\"\n      },\n      {\n        \"id\": \"0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f\",\n        \"kind\": \"closed\",\n        \"by\": \"customer\",\n        \"createdAt\": \"2026-11-19T08:29:47.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Reopen a support ticket",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef/actions/reopen",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef",
                "actions",
                "reopen"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                }
              ]
            },
            "description": "Reopens a closed ticket: it goes back to support's queue (`status` becomes `open`). A ticket that isn't closed is answered as it is. Replying (`POST /tickets/{ticketRef}/messages`) reopens one too."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/tickets/:ticketRef/actions/reopen",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    ":ticketRef",
                    "actions",
                    "reopen"
                  ],
                  "variable": [
                    {
                      "key": "ticketRef",
                      "value": "RF-7KQ2MX",
                      "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                    }
                  ]
                },
                "description": "Reopens a closed ticket: it goes back to support's queue (`status` becomes `open`). A ticket that isn't closed is answered as it is. Replying (`POST /tickets/{ticketRef}/messages`) reopens one too."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"open\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 2,\n    \"preview\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa\",\n    \"lastMessageAt\": \"2026-11-16T10:12:40.000Z\",\n    \"lastReplyBy\": \"support\",\n    \"autoCloseAt\": null,\n    \"remindersSent\": 0,\n    \"rating\": null,\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      },\n      {\n        \"id\": \"2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d\",\n        \"author\": \"support\",\n        \"authorName\": \"Rabbitflare Support\",\n        \"body\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?\",\n        \"html\": \"<p>Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?</p>\",\n        \"via\": \"email\",\n        \"createdAt\": \"2026-11-16T10:12:40.000Z\",\n        \"files\": []\n      }\n    ],\n    \"history\": [\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"reminder\",\n        \"by\": null,\n        \"createdAt\": \"2026-11-18T10:13:05.000Z\"\n      },\n      {\n        \"id\": \"0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f\",\n        \"kind\": \"closed\",\n        \"by\": \"customer\",\n        \"createdAt\": \"2026-11-19T08:29:47.000Z\"\n      },\n      {\n        \"id\": \"3e4f5a6b-7c8d-4e9f-a0b1-c2d3e4f5a6b7\",\n        \"kind\": \"reopened\",\n        \"by\": \"customer\",\n        \"createdAt\": \"2026-11-19T09:02:11.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Rate the help on a support ticket",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef/actions/rate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef",
                "actions",
                "rate"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                }
              ]
            },
            "description": "\"How did we do?\": rates the help you got on the ticket, `great`, `okay` or `not_good`, with a few words if you like (the emails about a closed ticket ask the same). A new rating replaces the one given before.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"rating\": \"great\",\n  \"comment\": \"Fixed within the hour, thank you!\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tickets/:ticketRef/actions/rate",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    ":ticketRef",
                    "actions",
                    "rate"
                  ],
                  "variable": [
                    {
                      "key": "ticketRef",
                      "value": "RF-7KQ2MX",
                      "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                    }
                  ]
                },
                "description": "\"How did we do?\": rates the help you got on the ticket, `great`, `okay` or `not_good`, with a few words if you like (the emails about a closed ticket ask the same). A new rating replaces the one given before.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"rating\": \"great\",\n  \"comment\": \"Fixed within the hour, thank you!\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"RF-7KQ2MX\",\n    \"subject\": \"Checkout page shows a 502 error\",\n    \"status\": \"closed\",\n    \"topic\": \"server\",\n    \"priority\": \"high\",\n    \"about\": \"Site: Shop\",\n    \"messageCount\": 2,\n    \"preview\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout pa\",\n    \"lastMessageAt\": \"2026-11-16T10:12:40.000Z\",\n    \"lastReplyBy\": \"support\",\n    \"autoCloseAt\": null,\n    \"remindersSent\": 0,\n    \"rating\": {\n      \"rating\": \"great\",\n      \"comment\": \"Fixed within the hour, thank you!\",\n      \"ratedAt\": \"2026-11-19T08:30:12.000Z\"\n    },\n    \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n    \"messages\": [\n      {\n        \"id\": \"9d2e4f6a-1b3c-4d5e-8f7a-0b1c2d3e4f5a\",\n        \"author\": \"customer\",\n        \"authorName\": \"Jane Doe\",\n        \"body\": \"Since this morning the checkout page of the shop shows a 502 error. The screenshot shows what customers see.\",\n        \"html\": null,\n        \"via\": \"panel\",\n        \"createdAt\": \"2026-11-16T09:58:02.000Z\",\n        \"files\": [\n          {\n            \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n            \"filename\": \"checkout-error.png\",\n            \"contentType\": \"image/png\",\n            \"sizeBytes\": 184320\n          }\n        ]\n      },\n      {\n        \"id\": \"2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d\",\n        \"author\": \"support\",\n        \"authorName\": \"Rabbitflare Support\",\n        \"body\": \"Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?\",\n        \"html\": \"<p>Thanks for the screenshot. The shop's PHP workers were all busy with a plugin's slow requests, so the server answered 502. We raised the site's PHP worker limit and the checkout page loads again. Could you try an order?</p>\",\n        \"via\": \"email\",\n        \"createdAt\": \"2026-11-16T10:12:40.000Z\",\n        \"files\": []\n      }\n    ],\n    \"history\": [\n      {\n        \"id\": \"7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e\",\n        \"kind\": \"reminder\",\n        \"by\": null,\n        \"createdAt\": \"2026-11-18T10:13:05.000Z\"\n      },\n      {\n        \"id\": \"0c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f\",\n        \"kind\": \"closed\",\n        \"by\": \"customer\",\n        \"createdAt\": \"2026-11-19T08:29:47.000Z\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Upload a file for a ticket message",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/octet-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tickets/uploads?filename=checkout-error.png",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                "uploads"
              ],
              "query": [
                {
                  "key": "filename",
                  "value": "checkout-error.png",
                  "description": "The file's name, like `checkout-error.png`, up to 200 characters. A text file's name must end in .txt or .log."
                }
              ]
            },
            "description": "Uploads a file to send with a message: send its bytes as the body, with `Content-Type: application/octet-stream` and its size in `Content-Length` (`400 length_required` without it), and its name in `filename`. Then name its `id` in `fileIds` when you open a ticket or reply.\n\nScreenshots (PNG, JPEG, GIF or WebP), PDFs and text files named .txt or .log, up to 10 MB each (`413 payload_too_large`). What a file is comes from its bytes, not its name (`422 unsupported_file`). An upload not sent with a message within a day is removed; up to 20 can wait at once (`409 too_many_uploads`), and up to 60 can be made an hour (`429 rate_limited`). `Location` is the upload's address, to remove it. An `Idempotency-Key` is accepted, but an upload's answer isn't kept: a key can be sent again once its upload has finished.\n\n**Time.** The whole upload must arrive within 5 minutes of the request's start: a slower one is cut off (the connection is closed, often with a plain `408` that isn't JSON), and nothing is kept.",
            "body": {
              "mode": "file",
              "file": {}
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/octet-stream"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/tickets/uploads?filename=checkout-error.png",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "tickets",
                    "uploads"
                  ],
                  "query": [
                    {
                      "key": "filename",
                      "value": "checkout-error.png",
                      "description": "The file's name, like `checkout-error.png`, up to 200 characters. A text file's name must end in .txt or .log."
                    }
                  ]
                },
                "description": "Uploads a file to send with a message: send its bytes as the body, with `Content-Type: application/octet-stream` and its size in `Content-Length` (`400 length_required` without it), and its name in `filename`. Then name its `id` in `fileIds` when you open a ticket or reply.\n\nScreenshots (PNG, JPEG, GIF or WebP), PDFs and text files named .txt or .log, up to 10 MB each (`413 payload_too_large`). What a file is comes from its bytes, not its name (`422 unsupported_file`). An upload not sent with a message within a day is removed; up to 20 can wait at once (`409 too_many_uploads`), and up to 60 can be made an hour (`429 rate_limited`). `Location` is the upload's address, to remove it. An `Idempotency-Key` is accepted, but an upload's answer isn't kept: a key can be sent again once its upload has finished.\n\n**Time.** The whole upload must arrive within 5 minutes of the request's start: a slower one is cut off (the connection is closed, often with a plain `408` that isn't JSON), and nothing is kept.",
                "body": {
                  "mode": "file",
                  "file": {}
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9\",\n    \"filename\": \"checkout-error.png\",\n    \"contentType\": \"image/png\",\n    \"sizeBytes\": 184320\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove an upload that wasn't sent",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets/uploads/:uploadId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                "uploads",
                ":uploadId"
              ],
              "variable": [
                {
                  "key": "uploadId",
                  "value": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                  "description": "The upload's id (the `id` its upload answered)."
                }
              ]
            },
            "description": "Removes a file uploaded for a message that hasn't been sent with one yet. A file already sent stays with its message (`404 not_found`)."
          },
          "response": []
        },
        {
          "name": "Download a file of a support ticket",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tickets/:ticketRef/files/:fileId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tickets",
                ":ticketRef",
                "files",
                ":fileId"
              ],
              "variable": [
                {
                  "key": "ticketRef",
                  "value": "RF-7KQ2MX",
                  "description": "The ticket's id: its reference, like `RF-7KQ2MX` (any case)."
                },
                {
                  "key": "fileId",
                  "value": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
                  "description": "The file's id (in the message's `files`)."
                }
              ]
            },
            "description": "Downloads a file sent with one of the ticket's messages, as it is: its type in `Content-Type`, its size in `Content-Length` and its name in `Content-Disposition` (always as an attachment)."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Events",
      "description": "What happened on the account, newest first.",
      "item": [
        {
          "name": "List events",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/events?type=site.*&limit=25",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "events"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "25",
                  "description": "How many items to return, from 1 to 100. Default 25."
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "site.*",
                  "description": "Only events of these types: one or more, separated by commas. A type ending in `.*` matches its whole family (`server.*`)."
                },
                {
                  "key": "serverId",
                  "value": "",
                  "description": "Only events about this server (and its sites).",
                  "disabled": true
                },
                {
                  "key": "siteId",
                  "value": "",
                  "description": "Only events about this site.",
                  "disabled": true
                },
                {
                  "key": "level",
                  "value": "",
                  "description": "Only events of this level.",
                  "disabled": true
                },
                {
                  "key": "since",
                  "value": "",
                  "description": "Only events from this time on (inclusive).",
                  "disabled": true
                },
                {
                  "key": "until",
                  "value": "",
                  "description": "Only events before this time.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists what happened on the account, newest first: the same events webhooks send, with the same ids. Use it to catch up after downtime, or instead of webhooks when polling suits you better.\n\nOnly public event types are listed (see `GET /webhooks/event-types`), and only those the token may see: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events). A token limited to some servers sees the events of those servers, and events of the account as a whole.\n\nFilter by `type` (comma-separated; `server.*` for a family), `serverId`, `siteId`, `level`, and a time range with `since` and `until`. Pages are stable: an event that happens while you page never makes another one repeat. Events are ordered by when they started being recorded, so an event can appear a few seconds after newer ones."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/events?type=site.*&limit=25",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "events"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "25",
                      "description": "How many items to return, from 1 to 100. Default 25."
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "type",
                      "value": "site.*",
                      "description": "Only events of these types: one or more, separated by commas. A type ending in `.*` matches its whole family (`server.*`)."
                    },
                    {
                      "key": "serverId",
                      "value": "",
                      "description": "Only events about this server (and its sites).",
                      "disabled": true
                    },
                    {
                      "key": "siteId",
                      "value": "",
                      "description": "Only events about this site.",
                      "disabled": true
                    },
                    {
                      "key": "level",
                      "value": "",
                      "description": "Only events of this level.",
                      "disabled": true
                    },
                    {
                      "key": "since",
                      "value": "",
                      "description": "Only events from this time on (inclusive).",
                      "disabled": true
                    },
                    {
                      "key": "until",
                      "value": "",
                      "description": "Only events before this time.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists what happened on the account, newest first: the same events webhooks send, with the same ids. Use it to catch up after downtime, or instead of webhooks when polling suits you better.\n\nOnly public event types are listed (see `GET /webhooks/event-types`), and only those the token may see: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events). A token limited to some servers sees the events of those servers, and events of the account as a whole.\n\nFilter by `type` (comma-separated; `server.*` for a family), `serverId`, `siteId`, `level`, and a time range with `since` and `until`. Pages are stable: an event that happens while you page never makes another one repeat. Events are ordered by when they started being recorded, so an event can appear a few seconds after newer ones."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n      \"type\": \"site.ready\",\n      \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n      \"level\": \"success\",\n      \"message\": \"“Blog” is live at https://blog-k3x9q.rabbitflare.link\",\n      \"actor\": {\n        \"type\": \"system\",\n        \"name\": null\n      },\n      \"server\": {\n        \"id\": \"6f0c6c0e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n        \"name\": \"web-1\"\n      },\n      \"site\": {\n        \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n        \"name\": \"Blog\"\n      },\n      \"mailDomain\": null\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get an event",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/events/:eventId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "events",
                ":eventId"
              ],
              "variable": [
                {
                  "key": "eventId",
                  "value": "5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60",
                  "description": "The event's id (a webhook payload's `id`)."
                }
              ]
            },
            "description": "Returns one event, by the id a list or a webhook gave you.\n\nOnly public event types are listed (see `GET /webhooks/event-types`), and only those the token may see: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events). A token limited to some servers sees the events of those servers, and events of the account as a whole. An event the token may not see answers `404 not_found`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/events/:eventId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "events",
                    ":eventId"
                  ],
                  "variable": [
                    {
                      "key": "eventId",
                      "value": "5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60",
                      "description": "The event's id (a webhook payload's `id`)."
                    }
                  ]
                },
                "description": "Returns one event, by the id a list or a webhook gave you.\n\nOnly public event types are listed (see `GET /webhooks/event-types`), and only those the token may see: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events). A token limited to some servers sees the events of those servers, and events of the account as a whole. An event the token may not see answers `404 not_found`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n    \"type\": \"site.ready\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"level\": \"success\",\n    \"message\": \"“Blog” is live at https://blog-k3x9q.rabbitflare.link\",\n    \"actor\": {\n      \"type\": \"system\",\n      \"name\": null\n    },\n    \"server\": {\n      \"id\": \"6f0c6c0e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n      \"name\": \"web-1\"\n    },\n    \"site\": {\n      \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n      \"name\": \"Blog\"\n    },\n    \"mailDomain\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Webhooks",
      "description": "Get told when something happens, at a URL of yours.",
      "item": [
        {
          "name": "List event types",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/event-types?category=sites",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "event-types"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "category",
                  "value": "sites",
                  "description": "Only the types of this group."
                }
              ]
            },
            "description": "Lists every event type that can be sent to a webhook endpoint (and listed by `GET /events`), with its group and what it means. Any valid token can read it.\n\nNew types are added over time; your receiver should accept, and may ignore, types it doesn't know."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/event-types?category=sites",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "event-types"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "category",
                      "value": "sites",
                      "description": "Only the types of this group."
                    }
                  ]
                },
                "description": "Lists every event type that can be sent to a webhook endpoint (and listed by `GET /events`), with its group and what it means. Any valid token can read it.\n\nNew types are added over time; your receiver should accept, and may ignore, types it doesn't know."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"type\": \"site.ready\",\n      \"category\": \"sites\",\n      \"description\": \"A site finished installing and is live.\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "List webhook endpoints",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "description": "Only endpoints with this status.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the account's webhook endpoints (at most 10), newest first. Never their signing secrets."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "",
                      "description": "Only endpoints with this status.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the account's webhook endpoints (at most 10), newest first. Never their signing secrets."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n      \"url\": \"https://hooks.example.com/rabbitflare\",\n      \"description\": \"Deploy notifications\",\n      \"events\": [\n        \"server.ready\",\n        \"site.ready\",\n        \"site.install_failed\"\n      ],\n      \"allServers\": true,\n      \"serverIds\": [],\n      \"status\": \"enabled\",\n      \"disabledReason\": null,\n      \"failingSince\": null,\n      \"lastSuccessAt\": \"2026-11-18T09:12:03.000Z\",\n      \"lastFailureAt\": null,\n      \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n      \"updatedAt\": \"2026-11-18T08:46:49.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Add a webhook endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints"
              ]
            },
            "description": "Adds a URL of yours that events are sent to as they happen. The answer carries the endpoint's signing secret, **this once**: keep it where your receiver can read it, and check every call's `Rabbitflare-Signature` header with it.\n\nThe URL must be https on port 443 or 8443, with a domain name (not an IP address) whose addresses are on the public internet; it's checked now and again before every call. Events that happen from now on are sent; earlier ones are not. Test it with `POST /webhooks/endpoints/{endpointId}/actions/send-test`.\n\nAn endpoint made or changed with a token can only be sent event types the token may read: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events), otherwise `403 insufficient_scope`. `[\"*\"]` needs the read scope of every group sent today (`servers:read`, `sites:read`, `support:read` and `account:read`); a type added later is sent to it only if its token may read it. A token limited to some servers can only make endpoints limited to those servers: send `serverIds` with only them (`serverIds` sent without `allServers` means `allServers` false).\n\nAn endpoint added through the API follows the token that added it until its URL is changed in the panel: it's sent only the events that token may read now, of the servers it reaches; only that token can change it, turn it on or rotate its secret (another token that reaches it may read it, send it a test event or a delivery again, turn it off or delete it, and gets `403 panel_only` for anything else); and it's turned off when the token no longer covers it, expires, revokes itself or is revoked by support, and when you revoke the token in the panel unless you choose to keep it on (it's then still sent only what the token could read).\n\n**Limits.** 10 endpoints per account.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"https://hooks.example.com/rabbitflare\",\n  \"description\": \"Deploy notifications\",\n  \"events\": [\n    \"server.ready\",\n    \"site.ready\",\n    \"site.install_failed\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints"
                  ]
                },
                "description": "Adds a URL of yours that events are sent to as they happen. The answer carries the endpoint's signing secret, **this once**: keep it where your receiver can read it, and check every call's `Rabbitflare-Signature` header with it.\n\nThe URL must be https on port 443 or 8443, with a domain name (not an IP address) whose addresses are on the public internet; it's checked now and again before every call. Events that happen from now on are sent; earlier ones are not. Test it with `POST /webhooks/endpoints/{endpointId}/actions/send-test`.\n\nAn endpoint made or changed with a token can only be sent event types the token may read: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events), otherwise `403 insufficient_scope`. `[\"*\"]` needs the read scope of every group sent today (`servers:read`, `sites:read`, `support:read` and `account:read`); a type added later is sent to it only if its token may read it. A token limited to some servers can only make endpoints limited to those servers: send `serverIds` with only them (`serverIds` sent without `allServers` means `allServers` false).\n\nAn endpoint added through the API follows the token that added it until its URL is changed in the panel: it's sent only the events that token may read now, of the servers it reaches; only that token can change it, turn it on or rotate its secret (another token that reaches it may read it, send it a test event or a delivery again, turn it off or delete it, and gets `403 panel_only` for anything else); and it's turned off when the token no longer covers it, expires, revokes itself or is revoked by support, and when you revoke the token in the panel unless you choose to keep it on (it's then still sent only what the token could read).\n\n**Limits.** 10 endpoints per account.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"url\": \"https://hooks.example.com/rabbitflare\",\n  \"description\": \"Deploy notifications\",\n  \"events\": [\n    \"server.ready\",\n    \"site.ready\",\n    \"site.install_failed\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"url\": \"https://hooks.example.com/rabbitflare\",\n    \"description\": \"Deploy notifications\",\n    \"events\": [\n      \"server.ready\",\n      \"site.ready\",\n      \"site.install_failed\"\n    ],\n    \"allServers\": true,\n    \"serverIds\": [],\n    \"status\": \"enabled\",\n    \"disabledReason\": null,\n    \"failingSince\": null,\n    \"lastSuccessAt\": null,\n    \"lastFailureAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T08:46:49.000Z\",\n    \"secret\": \"rfwhsec_7Kq2mPq4Xc7Lw9Tn0Bv3YsA1b2C3d4E5\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a webhook endpoint",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ]
            },
            "description": "Returns one webhook endpoint: its URL, events, servers, status, and how its deliveries have gone lately (`failingSince`, `lastSuccessAt`, `lastFailureAt`). Never its signing secret."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                      "description": "The endpoint's id."
                    }
                  ]
                },
                "description": "Returns one webhook endpoint: its URL, events, servers, status, and how its deliveries have gone lately (`failingSince`, `lastSuccessAt`, `lastFailureAt`). Never its signing secret."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"url\": \"https://hooks.example.com/rabbitflare\",\n    \"description\": \"Deploy notifications\",\n    \"events\": [\n      \"server.ready\",\n      \"site.ready\",\n      \"site.install_failed\"\n    ],\n    \"allServers\": true,\n    \"serverIds\": [],\n    \"status\": \"enabled\",\n    \"disabledReason\": null,\n    \"failingSince\": null,\n    \"lastSuccessAt\": \"2026-11-18T09:12:03.000Z\",\n    \"lastFailureAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T08:46:49.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Change a webhook endpoint",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ]
            },
            "description": "Changes an endpoint's URL, note, events or servers, or turns it off and on (`status`). Only the fields sent change.\n\nTurning an endpoint on again (also one that was turned off because its deliveries kept failing) clears its failing streak; deliveries that already failed stay failed (send them again with `POST /webhooks/deliveries/{deliveryId}/actions/redeliver`).\n\nAn endpoint made or changed with a token can only be sent event types the token may read: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events), otherwise `403 insufficient_scope`. `[\"*\"]` needs the read scope of every group sent today (`servers:read`, `sites:read`, `support:read` and `account:read`); a type added later is sent to it only if its token may read it. A token limited to some servers can only make endpoints limited to those servers: send `serverIds` with only them (`serverIds` sent without `allServers` means `allServers` false).\n\nAn endpoint added through the API follows the token that added it until its URL is changed in the panel: it's sent only the events that token may read now, of the servers it reaches; only that token can change it, turn it on or rotate its secret (another token that reaches it may read it, send it a test event or a delivery again, turn it off or delete it, and gets `403 panel_only` for anything else); and it's turned off when the token no longer covers it, expires, revokes itself or is revoked by support, and when you revoke the token in the panel unless you choose to keep it on (it's then still sent only what the token could read).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"enabled\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints",
                    ":endpointId"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                      "description": "The endpoint's id."
                    }
                  ]
                },
                "description": "Changes an endpoint's URL, note, events or servers, or turns it off and on (`status`). Only the fields sent change.\n\nTurning an endpoint on again (also one that was turned off because its deliveries kept failing) clears its failing streak; deliveries that already failed stay failed (send them again with `POST /webhooks/deliveries/{deliveryId}/actions/redeliver`).\n\nAn endpoint made or changed with a token can only be sent event types the token may read: each type needs its group's read scope (`servers:read` for server events, `sites:read` for site events, `account:read` for API events), otherwise `403 insufficient_scope`. `[\"*\"]` needs the read scope of every group sent today (`servers:read`, `sites:read`, `support:read` and `account:read`); a type added later is sent to it only if its token may read it. A token limited to some servers can only make endpoints limited to those servers: send `serverIds` with only them (`serverIds` sent without `allServers` means `allServers` false).\n\nAn endpoint added through the API follows the token that added it until its URL is changed in the panel: it's sent only the events that token may read now, of the servers it reaches; only that token can change it, turn it on or rotate its secret (another token that reaches it may read it, send it a test event or a delivery again, turn it off or delete it, and gets `403 panel_only` for anything else); and it's turned off when the token no longer covers it, expires, revokes itself or is revoked by support, and when you revoke the token in the panel unless you choose to keep it on (it's then still sent only what the token could read).",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"status\": \"enabled\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"url\": \"https://hooks.example.com/rabbitflare\",\n    \"description\": \"Deploy notifications\",\n    \"events\": [\n      \"server.ready\",\n      \"site.ready\",\n      \"site.install_failed\"\n    ],\n    \"allServers\": true,\n    \"serverIds\": [],\n    \"status\": \"enabled\",\n    \"disabledReason\": null,\n    \"failingSince\": null,\n    \"lastSuccessAt\": \"2026-11-18T09:12:03.000Z\",\n    \"lastFailureAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T08:46:49.000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete a webhook endpoint",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ]
            },
            "description": "Deletes an endpoint, with its deliveries. Nothing more is sent to it. This can't be undone."
          },
          "response": []
        },
        {
          "name": "Rotate an endpoint's signing secret",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/actions/rotate-secret",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId",
                "actions",
                "rotate-secret"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ]
            },
            "description": "Gives the endpoint a new signing secret, answered this once. The new secret signs every call from now on; for 24 hours each call's `Rabbitflare-Signature` header also carries a second `v1=` made with the old secret, so your receiver can switch over without missing an event.\n\nRotating again within the 24 hours ends the old secret at once.\n\nOnly for an endpoint added with this token: whoever holds a secret can sign calls its receiver takes for ours, so the secret of an endpoint added in the panel, or with another token, is rolled in the panel (`403 panel_only` here)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/actions/rotate-secret",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints",
                    ":endpointId",
                    "actions",
                    "rotate-secret"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                      "description": "The endpoint's id."
                    }
                  ]
                },
                "description": "Gives the endpoint a new signing secret, answered this once. The new secret signs every call from now on; for 24 hours each call's `Rabbitflare-Signature` header also carries a second `v1=` made with the old secret, so your receiver can switch over without missing an event.\n\nRotating again within the 24 hours ends the old secret at once.\n\nOnly for an endpoint added with this token: whoever holds a secret can sign calls its receiver takes for ours, so the secret of an endpoint added in the panel, or with another token, is rolled in the panel (`403 panel_only` here)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"url\": \"https://hooks.example.com/rabbitflare\",\n    \"description\": \"Deploy notifications\",\n    \"events\": [\n      \"server.ready\",\n      \"site.ready\",\n      \"site.install_failed\"\n    ],\n    \"allServers\": true,\n    \"serverIds\": [],\n    \"status\": \"enabled\",\n    \"disabledReason\": null,\n    \"failingSince\": null,\n    \"lastSuccessAt\": \"2026-11-18T09:12:03.000Z\",\n    \"lastFailureAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"updatedAt\": \"2026-11-18T08:46:49.000Z\",\n    \"secret\": \"rfwhsec_7Kq2mPq4Xc7Lw9Tn0Bv3YsA1b2C3d4E5\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Send a test event",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/actions/send-test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId",
                "actions",
                "send-test"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ]
            },
            "description": "Sends a `ping` event to the endpoint, signed like any other, and answers the delivery: within about 12 seconds its first attempt has usually been made, so `state`, `lastStatus` and `responseExcerpt` show how your endpoint answered. Otherwise it answers while the delivery is still `pending`; read it again with `GET /webhooks/deliveries/{deliveryId}`.\n\nThe endpoint must be turned on (`409 invalid_state` otherwise). A test event goes to this endpoint only."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/actions/send-test",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints",
                    ":endpointId",
                    "actions",
                    "send-test"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                      "description": "The endpoint's id."
                    }
                  ]
                },
                "description": "Sends a `ping` event to the endpoint, signed like any other, and answers the delivery: within about 12 seconds its first attempt has usually been made, so `state`, `lastStatus` and `responseExcerpt` show how your endpoint answered. Otherwise it answers while the delivery is still `pending`; read it again with `GET /webhooks/deliveries/{deliveryId}`.\n\nThe endpoint must be turned on (`409 invalid_state` otherwise). A test event goes to this endpoint only."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b\",\n    \"endpointId\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"eventId\": \"ping_2c7d9e1f-4a3b-4c5d-8e6f-7a8b9c0d1e2f\",\n    \"eventType\": \"ping\",\n    \"state\": \"succeeded\",\n    \"attempts\": 1,\n    \"nextAttemptAt\": null,\n    \"lastStatus\": 200,\n    \"lastError\": null,\n    \"deliveredAt\": \"2026-11-18T10:02:12.000Z\",\n    \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n    \"payload\": {\n      \"id\": \"ping_2c7d9e1f-4a3b-4c5d-8e6f-7a8b9c0d1e2f\",\n      \"type\": \"ping\",\n      \"apiVersion\": \"v1\",\n      \"createdAt\": \"2026-11-18T10:02:11.000Z\",\n      \"accountId\": \"0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n      \"data\": {\n        \"level\": \"info\",\n        \"message\": \"A test event from Rabbitflare.\",\n        \"actor\": {\n          \"type\": \"user\",\n          \"name\": null\n        },\n        \"server\": null,\n        \"site\": null,\n        \"mailDomain\": null,\n        \"resource\": {\n          \"type\": \"account\",\n          \"id\": \"0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n          \"url\": \"https://api.rabbitflare.com/v1/account\"\n        }\n      }\n    },\n    \"responseExcerpt\": \"ok\",\n    \"attemptLog\": [\n      {\n        \"at\": \"2026-11-18T10:02:12.000Z\",\n        \"status\": 200,\n        \"ms\": 164,\n        \"error\": null\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "List an endpoint's deliveries",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/deliveries?state=failed",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "endpoints",
                ":endpointId",
                "deliveries"
              ],
              "variable": [
                {
                  "key": "endpointId",
                  "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                  "description": "The endpoint's id."
                }
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "How many items to return, from 1 to 100. Default 25.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "description": "The field to sort by. Each list names the fields it can be sorted by.",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "",
                  "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                  "disabled": true
                },
                {
                  "key": "state",
                  "value": "failed",
                  "description": "Only deliveries in this state."
                },
                {
                  "key": "eventType",
                  "value": "",
                  "description": "Only deliveries of this event type.",
                  "disabled": true
                }
              ]
            },
            "description": "Lists the deliveries to one endpoint from the last 30 days, newest first (`order=asc`: oldest first). Filter by `state` (to find failed ones to send again) or `eventType`. The payload and the attempts are in `GET /webhooks/deliveries/{deliveryId}`."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/endpoints/:endpointId/deliveries?state=failed",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "endpoints",
                    ":endpointId",
                    "deliveries"
                  ],
                  "variable": [
                    {
                      "key": "endpointId",
                      "value": "3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b",
                      "description": "The endpoint's id."
                    }
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "",
                      "description": "How many items to return, from 1 to 100. Default 25.",
                      "disabled": true
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "description": "The `nextCursor` of the previous page, exactly as it was given. Leave it out for the first page.",
                      "disabled": true
                    },
                    {
                      "key": "sort",
                      "value": "",
                      "description": "The field to sort by. Each list names the fields it can be sorted by.",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "",
                      "description": "`asc` (smallest or oldest first) or `desc`. Each list has its own default.",
                      "disabled": true
                    },
                    {
                      "key": "state",
                      "value": "failed",
                      "description": "Only deliveries in this state."
                    },
                    {
                      "key": "eventType",
                      "value": "",
                      "description": "Only deliveries of this event type.",
                      "disabled": true
                    }
                  ]
                },
                "description": "Lists the deliveries to one endpoint from the last 30 days, newest first (`order=asc`: oldest first). Filter by `state` (to find failed ones to send again) or `eventType`. The payload and the attempts are in `GET /webhooks/deliveries/{deliveryId}`."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a\",\n      \"endpointId\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n      \"eventId\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n      \"eventType\": \"site.ready\",\n      \"state\": \"failed\",\n      \"attempts\": 8,\n      \"nextAttemptAt\": null,\n      \"lastStatus\": 500,\n      \"lastError\": \"Your server answered 500.\",\n      \"deliveredAt\": null,\n      \"createdAt\": \"2026-11-18T08:46:50.000Z\"\n    }\n  ],\n  \"pagination\": {\n    \"limit\": 25,\n    \"hasMore\": false,\n    \"nextCursor\": null\n  }\n}"
            }
          ]
        },
        {
          "name": "Get a delivery",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/deliveries/:deliveryId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "deliveries",
                ":deliveryId"
              ],
              "variable": [
                {
                  "key": "deliveryId",
                  "value": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
                  "description": "The delivery's id (the `Rabbitflare-Delivery-Id` header)."
                }
              ]
            },
            "description": "Returns one delivery in full: the payload that was sent (the same bytes on every attempt), the first 1 KB of your endpoint's last answer, and the last 10 attempts."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/deliveries/:deliveryId",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "deliveries",
                    ":deliveryId"
                  ],
                  "variable": [
                    {
                      "key": "deliveryId",
                      "value": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
                      "description": "The delivery's id (the `Rabbitflare-Delivery-Id` header)."
                    }
                  ]
                },
                "description": "Returns one delivery in full: the payload that was sent (the same bytes on every attempt), the first 1 KB of your endpoint's last answer, and the last 10 attempts."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a\",\n    \"endpointId\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"eventId\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n    \"eventType\": \"site.ready\",\n    \"state\": \"succeeded\",\n    \"attempts\": 1,\n    \"nextAttemptAt\": null,\n    \"lastStatus\": 200,\n    \"lastError\": null,\n    \"deliveredAt\": \"2026-11-18T08:46:51.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:50.000Z\",\n    \"payload\": {\n      \"id\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n      \"type\": \"site.ready\",\n      \"apiVersion\": \"v1\",\n      \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n      \"accountId\": \"0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n      \"data\": {\n        \"level\": \"success\",\n        \"message\": \"“Blog” is live at https://blog-k3x9q.rabbitflare.link\",\n        \"actor\": {\n          \"type\": \"system\",\n          \"name\": null\n        },\n        \"server\": {\n          \"id\": \"6f0c6c0e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n          \"name\": \"web-1\"\n        },\n        \"site\": {\n          \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n          \"name\": \"Blog\"\n        },\n        \"mailDomain\": null,\n        \"resource\": {\n          \"type\": \"site\",\n          \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n          \"url\": \"https://api.rabbitflare.com/v1/sites/9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\"\n        }\n      }\n    },\n    \"responseExcerpt\": \"ok\",\n    \"attemptLog\": [\n      {\n        \"at\": \"2026-11-18T08:46:51.000Z\",\n        \"status\": 200,\n        \"ms\": 182,\n        \"error\": null\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Send a delivery again",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/deliveries/:deliveryId/actions/redeliver",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "deliveries",
                ":deliveryId",
                "actions",
                "redeliver"
              ],
              "variable": [
                {
                  "key": "deliveryId",
                  "value": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
                  "description": "The delivery's id (the `Rabbitflare-Delivery-Id` header)."
                }
              ]
            },
            "description": "Sends a delivery again, now: the same payload, with a new signature. It becomes `pending` and its attempts keep counting; its history stays. Useful for a delivery that failed while your endpoint was down.\n\n**Limits.** 60 an hour per account. A delivery that is already waiting for its next attempt is sent at once; the endpoint must be turned on (`409 invalid_state` otherwise)."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "POST",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/webhooks/deliveries/:deliveryId/actions/redeliver",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "webhooks",
                    "deliveries",
                    ":deliveryId",
                    "actions",
                    "redeliver"
                  ],
                  "variable": [
                    {
                      "key": "deliveryId",
                      "value": "8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a",
                      "description": "The delivery's id (the `Rabbitflare-Delivery-Id` header)."
                    }
                  ]
                },
                "description": "Sends a delivery again, now: the same payload, with a new signature. It becomes `pending` and its attempts keep counting; its history stays. Useful for a delivery that failed while your endpoint was down.\n\n**Limits.** 60 an hour per account. A delivery that is already waiting for its next attempt is sent at once; the endpoint must be turned on (`409 invalid_state` otherwise)."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"8d2e4f6a-1b3c-4d5e-8f9a-0b1c2d3e4f5a\",\n    \"endpointId\": \"3c6f9a1e-2b4d-4e8f-9a0b-1c2d3e4f5a6b\",\n    \"eventId\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n    \"eventType\": \"site.ready\",\n    \"state\": \"pending\",\n    \"attempts\": 8,\n    \"nextAttemptAt\": \"2026-11-20T09:00:00.000Z\",\n    \"lastStatus\": 500,\n    \"lastError\": \"Your server answered 500.\",\n    \"deliveredAt\": null,\n    \"createdAt\": \"2026-11-18T08:46:50.000Z\",\n    \"payload\": {\n      \"id\": \"5f0d2a7c-3b1e-4c8d-9a6f-2e7b1c4d5a60\",\n      \"type\": \"site.ready\",\n      \"apiVersion\": \"v1\",\n      \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n      \"accountId\": \"0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n      \"data\": {\n        \"level\": \"success\",\n        \"message\": \"“Blog” is live at https://blog-k3x9q.rabbitflare.link\",\n        \"actor\": {\n          \"type\": \"system\",\n          \"name\": null\n        },\n        \"server\": {\n          \"id\": \"6f0c6c0e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n          \"name\": \"web-1\"\n        },\n        \"site\": {\n          \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n          \"name\": \"Blog\"\n        },\n        \"mailDomain\": null,\n        \"resource\": {\n          \"type\": \"site\",\n          \"id\": \"9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\",\n          \"url\": \"https://api.rabbitflare.com/v1/sites/9b1e4f2a-7c3d-4e5f-8a9b-0c1d2e3f4a5b\"\n        }\n      }\n    },\n    \"responseExcerpt\": \"ok\",\n    \"attemptLog\": [\n      {\n        \"at\": \"2026-11-18T08:46:51.000Z\",\n        \"status\": 200,\n        \"ms\": 182,\n        \"error\": null\n      }\n    ]\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Token",
      "description": "The API token in use.",
      "item": [
        {
          "name": "Get the token in use",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "token"
              ]
            },
            "description": "Answers the token making the request: its name, scopes, the servers and IP addresses it is limited to, when it expires, when it was last used, and its rate limits. Any valid token can call it: it needs no scope.\n\nThe token's secret is never shown: only its first 8 and last 4 characters, to recognise it."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "token"
                  ]
                },
                "description": "Answers the token making the request: its name, scopes, the servers and IP addresses it is limited to, when it expires, when it was last used, and its rate limits. Any valid token can call it: it needs no scope.\n\nThe token's secret is never shown: only its first 8 and last 4 characters, to recognise it."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"0b9f2c1e-5d0b-4b53-9a7e-2f1a3a6d7b11\",\n    \"name\": \"deploy-bot\",\n    \"tokenStart\": \"rfp_3kTq\",\n    \"tokenLast4\": \"a1B2\",\n    \"scopes\": [\n      \"servers:read\",\n      \"sites:read\",\n      \"sites:write\"\n    ],\n    \"allServers\": true,\n    \"serverIds\": [],\n    \"ipAllowlist\": [\n      \"203.0.113.0/24\"\n    ],\n    \"expiresAt\": \"2027-02-16T08:46:49.000Z\",\n    \"createdAt\": \"2026-11-18T08:46:49.000Z\",\n    \"lastUsedAt\": \"2026-11-18T09:12:03.000Z\",\n    \"rateLimits\": {\n      \"readPerMinute\": 120,\n      \"writePerMinute\": 30,\n      \"heavyPerMinute\": 20,\n      \"perHour\": 3000,\n      \"concurrent\": 4\n    }\n  }\n}"
            }
          ]
        },
        {
          "name": "Revoke the token in use",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/token",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "token"
              ]
            },
            "description": "Revokes the token making the request. It stops working at once: every later call with it answers `401 token_revoked`. This can't be undone; make a new token in the panel if you need one again.\n\nThe webhook endpoints it added are turned off with it (they can be turned on again in the panel).\n\nUse it when a token may have leaked, or when the script that used it is retired. Any valid token can revoke itself: it needs no scope."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Meta",
      "description": "The API's index, its OpenAPI document and a test call.",
      "item": [
        {
          "name": "Get the API's index",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": []
            },
            "description": "Answers what the API is and where its documentation and OpenAPI document are. Needs no token.\n\nUse it to check you have the right address: `https://api.rabbitflare.com/v1`.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": []
                },
                "description": "Answers what the API is and where its documentation and OpenAPI document are. Needs no token.\n\nUse it to check you have the right address: `https://api.rabbitflare.com/v1`.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"name\": \"Rabbitflare API\",\n    \"version\": \"v1\",\n    \"documentationUrl\": \"https://rabbitflare.com/docs/api\",\n    \"openapiUrl\": \"https://api.rabbitflare.com/v1/openapi.json\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get the OpenAPI document",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/openapi.json",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "openapi.json"
              ]
            },
            "description": "Answers the API's [OpenAPI 3.1](https://spec.openapis.org/oas/v3.1.0) document: every operation, schema, scope and error of `v1`. Needs no token.\n\nThe document itself is the answer (it isn't wrapped in `data`). It can be cached for 5 minutes. Code generators, Postman and other API tools can read it directly.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": []
        },
        {
          "name": "Test a token",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ping",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ping"
              ]
            },
            "description": "Answers `ok: true` and the API's time when the token works. Any valid token can call it: it needs no scope and changes nothing.\n\nUse it to check a new token, or that a token still works, before making real calls."
          },
          "response": [
            {
              "name": "Example",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/ping",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "ping"
                  ]
                },
                "description": "Answers `ok: true` and the API's time when the token works. Any valid token can call it: it needs no scope and changes nothing.\n\nUse it to check a new token, or that a token still works, before making real calls."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json; charset=utf-8"
                }
              ],
              "body": "{\n  \"data\": {\n    \"ok\": true,\n    \"time\": \"2026-11-18T08:46:49.000Z\"\n  }\n}"
            }
          ]
        }
      ]
    }
  ]
}