How to Move Craft CMS Blog to Substack
Short answer: get Craft CMS blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
Step-by-step guide to move your Craft CMS blog to Substack. Export your archive, create a publication, connect it to API Substack, and republish as a Substack newsletter.
Moving from Craft CMS to Substack means turning a blog archive into an owned email newsletter - with a public Substack home page and posts that arrive in readers’ inboxes.
Why sync your Craft CMS blog to Substack?
When you sync your Craft CMS blog from your website to Substack, the same posts reach Substack readers and email subscribers. That extra channel brings additional traffic and leads without replacing your original site.
Keep publishing on your site and let API Substack mirror articles to Substack automatically. You grow an owned newsletter audience while your site keeps ranking and converting visitors into leads.
How API Substack helps the move
API Substack is the unofficial posting API for Substack authors. After you create a Substack publication, you connect it to API Substack and republish your archive as drafts/posts - then keep shipping new issues without living in the browser editor.
- Register on API Substack and generate an API key
- Connect your Substack publication (publication URL + `substack.sid` session cookie)
- Create drafts, publish now, or schedule posts from API, CLI, or MCP
- Turn the migration queue into a repeatable newsletter workflow
In practice: export from Craft CMS → create Substack → connect the publication to API Substack → republish cleaned posts → keep writing as a Substack newsletter.
Step 1 - Export from Craft CMS
- Export entries from the blog section (Feed Me reverse, Element API dump, or CSV plugins).
- Copy asset volumes.
- Export mailing list contacts.
- Map custom fields to title/subtitle/body/tags.
Step 2 - Create your Substack publication
- Create a publication at Substack and choose your name/URL
- Write About / Welcome posts so new subscribers understand the move
- Import your subscriber CSV in Substack (where you legally have consent)
- Optionally connect a custom domain in Substack settings
Step 3 - Connect the publication to API Substack
- Register on API Substack and start your key
- Set your publication URL (example: `https://yourname.substack.com`)
- Copy the browser cookie `substack.sid` while signed into Substack (DevTools → Application → Cookies)
- Store the API key + cookie in your CLI, HTTP client, or Substack API MCP
Step 4 - Republish Craft CMS posts to Substack
- Clean each post (title, subtitle, body, images, tags)
- Create a draft on Substack via API Substack (`create_post` / draft flows)
- Review the draft in Substack if the piece is sensitive or heavily formatted
- Publish or schedule - work oldest→newest or ship a “best of” first
- Announce the move to remaining Craft CMS readers with the Substack URL
For non-technical authors, install the MCP into Claude, Cursor, or Codex and ask the agent to draft/publish. For developers, use the Python client / CLI or raw HTTP. See How to post to Substack via API.
Corner cases
- Matrix/Neo fields need flattening.
- Commerce/membership features stay in Craft or move to Substack paid.
- Plan redirects for entry URIs.
- `substack.sid` expires - refresh it when you get 401/403
- API Substack does not replace Substack’s own subscriber CSV import - connect the publication, then republish content
- Image upload and Notes are not the focus of the posting API - optimize for newsletter posts
- This is unofficial and not affiliated with Substack - keep browser login as backup
After the move
Once the Craft CMS archive is on Substack, keep using API Substack as your publish rail: draft tomorrow’s issue, schedule the week, or let an AI agent post through MCP. Your blog becomes a Substack newsletter you actually control.
Related
How to Move Dev.to Blog to Substack
Short answer: get Dev.to blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Django Blog to Substack
Short answer: get Django blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Drupal Blog to Substack
Short answer: get Drupal blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Eleventy Blog to Substack
Short answer: get Eleventy blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Express.js Blog to Substack
Short answer: get Express.js blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move FastAPI Blog to Substack
Short answer: get FastAPI blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Flask Blog to Substack
Short answer: get Flask blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Gatsby Blog to Substack
Short answer: get Gatsby blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Ghost Blog to Substack
Short answer: get Ghost blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.
How to Move Ghostwriter Blog to Substack
Short answer: get Ghostwriter blog sitemap.xml and add it to https://apisubstack.com. After that your blog will automatically migrate step-by-step to substack.