Skip to content

Rabbitflare API

Manage your servers and WordPress sites from your own code: create a server, add sites, connect domains and follow each change until it's done, as you do in the control panel. For agencies, developers and anyone who automates their WordPress hosting.

Version v1 Updated

Base URL

Every request goes to this address over HTTPS, with your API token in the Authorization header.

https://api.rabbitflare.com/v1

Your first call

Keep your token in the RABBITFLARE_TOKEN environment variable (the quick start shows how), then list your servers. Every answer is JSON: what you asked for is in data.

Example request

cURL
curl "https://api.rabbitflare.com/v1/servers" \
  -H "Authorization: Bearer $RABBITFLARE_TOKEN"

Example response

200 OK
{
  "data": [
    {
      "id": "3f6c1a2b-8d4e-4b7a-9c2d-1e5f7a8b9c0d",
      "name": "Production",
      "status": "active",
      "stage": "complete",
      "pendingAction": null,
      "cloud": "digitalocean",
      "region": "fra1",
      "planId": "business",
      "priceMonthlyCents": 5200,
      "currency": "usd",
      "ipv4": "203.0.113.10",
      "ipv6": "2001:db8::10",
      "phpVersion": "8.3",
      "backupsEnabled": true,
      "automaticBackupsBy": null,
      "billing": {
        "method": "card",
        "status": "active",
        "currentPeriodEnd": "2026-12-18T08:46:49.000Z"
      },
      "pendingPlanId": null,
      "scheduledDeletionAt": null,
      "trial": false,
      "specs": null,
      "siteCount": 2,
      "dataTransfer": null,
      "phpSecurity": {
        "state": "current",
        "reason": null,
        "build": "8.3.6-0ubuntu0.24.04.13",
        "packages": 14,
        "fixes": [],
        "restart": [],
        "auto": true,
        "listsAt": "2026-11-18T06:12:04.000Z",
        "securityAt": "2026-11-17T21:30:00.000Z",
        "checkedAt": "2026-11-18T07:00:31.000Z",
        "error": null
      },
      "security": {
        "status": "on",
        "available": true
      },
      "lastError": null,
      "readyAt": "2026-11-18T08:51:12.000Z",
      "createdAt": "2026-11-18T08:46:49.000Z",
      "updatedAt": "2026-11-18T09:02:31.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}

What you can do

The API grows group by group. These are open today:

GroupWhat it coversOperations
Account The account the token belongs to: its features and limits. 1
Catalogue Clouds, locations and plans you can create servers with, and what's in stock. 4
Servers Servers: create, power, resize, snapshots and restores, graphs, logs and more. 24
Sites WordPress sites on your servers: create, sign in, tools, and delete. 9
Site domains Connect domains to sites, verify their DNS and choose the primary one. 7
CDN The included CDN for a site's static files. 8
Firewall A site's web application firewall. 7
Cloudflare protection Putting a site behind Cloudflare. 3
Server security Imunify360 on a server: its firewall, web application firewall, bot checks, kernel patches and WordPress plugin. 21
Malware protection Imunify360's malware scanning and cleaning for a site. 12
Resources The CPU, memory, processes and PHP settings a site may use. 3
Cron jobs Scheduled tasks on a site. 9
Files A site's files: list, read, write, upload and download. 13
Backups Site backups, restores, and where backups are stored. 15
Staging A site's staging copy: create, refresh, push and undo. 11
Cloning Copy a site to a new site. 6
RabbitPress Cache The RabbitPress Cache plugin on sites, and its licences. 3
Media Offload Keep a site's media library in cloud storage. 9
Rabbitflare SMTP Send a site's WordPress emails through Rabbitflare. 8
Support tickets Open support tickets and answer them. 10
Events What happened on the account, newest first. 2
Webhooks Get told when something happens, at a URL of yours. 11
Token The API token in use. 2
Meta The API's index, its OpenAPI document and a test call. 3

Good to know

Versioned
Every path starts with /v1. Changes that could break your code come in a new version, announced ahead (see Versioning).
JSON in, JSON out
Bodies are sent as JSON. An answer has what you asked for in data, or what went wrong in error.
Rate-limited
A token can make 120 reads and 30 changes a minute (see Rate limits).
Included
The API is included with every account. What you create through it is billed as it is in the panel.
For your servers, not browsers
Web pages can't call the API, so your token stays in your own code, on your own server.

Help

Questions about the API go to our team like any other: open a support ticket, or ask other developers in the community.

Popular

API docs