Publish (headless / API)
Strapi
Publish entries and fix meta titles and descriptions in Strapi.
Eminex connects to Strapi over its REST API, version 4 or 5. Approved articles become entries in the collection you name, and meta titles and descriptions are fixed on the entries you already have.
What Eminex does with Strapi
- Creates or updates an entry in your chosen collection for each approved article, and publishes it.
- Fixes metaTitle and metaDescription on an existing entry, found by its slug.
- Works with Strapi version 4 and version 5.
How to connect Strapi
- 1In Strapi, create an API token with access to your articles collection.
- 2In Eminex, open Connections, choose Website, and pick “Strapi · API”.
- 3Enter your Strapi host URL, the API token and the collection's plural API ID (for example articles).
- 4Click Connect. If the collection name is wrong, Eminex tells you before saving.
What you approve
Strapi entries are only created from articles you've approved, and fixes are only written when you apply them.
Strapi questions
- What if Eminex can't make a fix on Strapi itself?
- The fix is marked as one for you, with the exact value to use and where it goes in Strapi. Fixes Eminex can make itself are marked so you can apply them in one go with Apply quick wins.
- How do I know the Strapi connection still works?
- Open the site in Connections and click Check connection. Eminex tests that your site loads and that Strapi answers, and tells you plainly if something needs reconnecting.
- Which collection name should I enter?
- The plural API ID — the name in your Strapi REST URLs, such as articles rather than article.
- Can Eminex change canonicals or schema in Strapi?
- Those are rendered by your front end. Eminex gives you the value to add there.
- Does Strapi need a plugin?
- No. An API token is enough.