外部連携・API · 約3分 で読了
API・Webhook・リモート MCP 連携
Ghost 標準 API や spooky.sh Control Plane API、AI エージェント向け MCP の活用方法。
クイックスタートは日本語で全文をご覧いただけます。詳細リファレンスの一部は英語原文を表示しています。
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_...'