🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
Ghost Admin API Configuration
Configured Channels
| Channel | Domain | API Status |
|---|---|---|
| blog.ourdigital.org | Korean main blog | ✅ Configured |
| journal.ourdigital.org | English journal | ✅ Configured |
| ourstory.day | Personal essays | ✅ Configured |
API Endpoints
Base URL pattern: https://{domain}/ghost/api/admin/
Authentication
Ghost Admin API uses JWT tokens generated from Admin API keys.
Admin API Key Format: {id}:{secret}
- id: 24 hex characters
- secret: 64 hex characters
Key Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/posts/ |
POST | Create new post |
/posts/{id}/ |
PUT | Update existing post |
/images/upload/ |
POST | Upload image |
/tags/ |
GET/POST | Manage tags |
Post Creation Payload
{
"posts": [{
"title": "Post Title",
"html": "<p>Content in HTML</p>",
"status": "draft",
"tags": [{"name": "tag1"}, {"name": "tag2"}],
"feature_image": "https://...",
"meta_title": "SEO Title",
"meta_description": "SEO Description",
"og_title": "Social Title",
"og_description": "Social Description",
"published_at": "2024-01-15T09:00:00.000Z"
}]
}
Status Options
draft: Save without publishingpublished: Publish immediatelyscheduled: Schedule for future (requirespublished_at)
Future Automation Opportunities
Zapier Integration Points
- Trigger: New Notion page in "Working with AI" → Create Ghost draft
- Trigger: Ghost post published → Share to social channels
- Trigger: New MD file in iCloud folder → Create Ghost draft
n8n Workflow Ideas
- Research complete → Auto-create drafts across all relevant channels
- Scheduled publishing queue management
- Cross-posting between Ghost instances
Security Notes
- API keys stored in environment variables
- Never expose keys in code or logs
- Rotate keys if compromised
- Use separate keys for different integrations