Every feature in the app is available over REST. Authenticate with an API key from Settings:
| GET | /api/library | Query: q, niche, format, platform, minViews, sort (views|recent|engagement|shares), page, pageSize |
| POST | /api/library/:id/remix | Adapt a library item to your brand (1 credit) |
| GET | /api/blitz | Next 10 ready-to-post cards. Query exclude: comma-separated source ids |
| POST | /api/blitz/post | {"card"}: schedule a card at the next open slot |
| POST | /api/automations/fill | {"days": 1-60}: fill the calendar |
| POST | /api/studio/hooks | {"topic", "count"} (1 credit) |
| POST | /api/studio/script | {"hook", "format"} (2 credits) |
| POST | /api/studio/slideshow | {"topic", "slides": 3-10} (4 credits per slide) |
| GET/POST | /api/workspaces | List, or create {"name"} (plan-limited). Send X-Workspace-Id on any request to target a workspace |
| POST | /api/workspaces/:id/activate | Make a workspace the default |
| GET/PATCH | /api/blitz/settings | {"contentMix": {format: percent}, "remixRatio", "angleMention", "captionStyle", "characterId", "characterFrequency"} |
| GET/POST | /api/automations | Create {"name", "brief", "days", "postsPerDay", "formats", "platforms"}: generates draft posts |
| POST | /api/automations/:id/launch | Schedule every draft (also /pause, DELETE) |
| POST | /api/media?kind=image|video|demo&name= | Raw file body with its content-type. GET /api/media/:id/file streams it |
| POST | /api/posts/bulk | {"ids": [...], "action": "delete" | "unschedule"} |
| GET | /api/formats | Format catalog and posting limits |
| POST | /api/studio/format | {"format", "topic"}: a draft for any catalog format |
| POST | /api/assistant | {"question"}: answer from the guide |
| GET | /api/admin/ingest | Pipeline status, queries and recent runs |
| POST | /api/admin/ingest/run | {"platform"?}: run YouTube / TikTok / Instagram ingestion now |
| POST | /api/admin/ingest/import-url | {"url", "niche", "views"?, "likes"?, ...}: import one TikTok or YouTube link |
| POST | /api/admin/library/import | {"items": [{platform, niche, format, title, hook, description, creator, views, likes, comments, shares, durationSec, tags, sourceUrl, postedAt}]}. Requires an email listed in ADMIN_EMAILS |