Self publishing + Maintouch
Pull approved posts from the Maintouch API and publish them on your own stack.
Overview
Not every site runs on a CMS Maintouch can write to. Custom builds, static site generators and in-house platforms still need finished posts, with SEO fields, schema and images ready to drop in.
Self publishing hands you the content through the Maintouch API. Your code pulls approved posts as HTML with CDN image URLs, publishes them on your site, then sends back the live URL so Maintouch tracks the post like any other.
How it works
- 01
Create an API key
Make a key under Developers in Maintouch. It is the only credential your publishing code needs.
- 02
Add collections
Name each section of your site and set its subdomain or path, so Maintouch knows which pages belong to it.
- 03
Pull, publish, report back
Fetch approved posts, publish them on your site, then mark each one published with its live URL.
What you get
Ready-to-publish posts
Each post comes with processed HTML, CDN image URLs, slug, title tag, meta description, author and schema.
New posts vs updates
A post that refreshes an existing page carries that page’s live URL, so your code knows to update instead of create.
Safe to retry
Marking a post published again with the same URL changes nothing, so a retried request never doubles up.
Release webhooks
Subscribe to the post.released webhook and your code hears each time a post is released in Maintouch.
Questions
Which posts does the API return?
Approved posts by default. You can also ask for ideas, drafts, posts in review or posts already published.
Can Maintouch publish to my site for me?
No. With self publishing your code or your team publishes, and Maintouch tracks the post once it has the live URL.
Can I mark posts published without code?
Yes. Mark a post as published in the Maintouch editor and paste its live URL.


