Integrations · 3 min read
APIs, Webhooks & Automation
Use Ghost APIs for publishing or the spooky.sh API for automated site management.
Standard Ghost APIs included on every plan
Create custom integrations in Ghost Admin → Settings → Integrations to connect Zapier, Make, or custom frontends. Standard Ghost Content API and Admin API SDKs work with zero changes.
bash
curl "https://your-site.spooky.host/ghost/api/content/posts/?key=YOUR_CONTENT_KEY&limit=5"Direct spooky.sh Control Plane API (for CLIs & agents)
Create a personal API token under Dashboard → API Keys to create sites, connect custom domains, refresh pages, or launch 24-hour preview sites directly from scripts, CI pipelines, or AI agents.
bash
# Launch a temporary 24h Ghost site (no auth required)
curl -X POST https://api.spooky.sh/v1/sandboxes -H 'content-type: application/json' -d '{"name":"Launch Preview"}'
# List your sites with an API token
curl https://api.spooky.sh/v1/sites -H 'Authorization: Bearer spk_live_...'