For Developers
Build without boundaries.
Programmable infrastructure, powerful APIs, and seamless integrations for the HostRafiki ecosystem.
zsh
> npm install @hostrafiki/sdk
import { Rafiki } from '@hostrafiki/sdk';
const client = new Rafiki({
apiKey: process.env.RAFIKI_KEY
});
await client.hosting.deploy('ubuntu-22.04');
✅ Deployment successful [3.2s]RafikiHPress API
Manage WordPress installations programmatically. Spin up staging environments, trigger backups, and deploy configurations via REST.
POST /v1/hpress/deployPOST /v1/hpress/backups/createGET /v1/hpress/instances{
"instances": [
{
"id": "hp_8f21a",
"status": "running",
"domain": "client.hostrafiki.com"
}
]
}RafikiWoo API
Programmatically sync inventory, intercept order webhooks, and manage store logic completely headless.
POST /v1/woo/webhooksGET /v1/woo/ordersRafikiMail API
Provision mailboxes, manage aliases, and monitor deliverability stats automatically.
POST /v1/mail/provisionGET /v1/mail/statsEnterprise-grade Auth
Secure your programmatic access with Bearer tokens and strict OAuth2 flows.
API Keys
Generate rolling keys via dashboard.
IP Allowlisting
Restrict API execution to known server blocks.
OAuth 2.0
Build third-party integrations securely.
Official Libraries
Node.js / TypeScript
npm install @hostrafiki/nodePython
pip install hostrafikiPHP
composer require hostrafiki/php