Skip to content
Sign in

WordsPost Content Publisher

REST API for publishing and managing posts and media from external systems, authenticated with an API key.

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

WordsPost Content Publisher adds a REST API (content-publisher/v1) that lets an external system create, update, delete and search posts, upload and manage media, manage categories and tags, set SEO fields and, when WPML is active, manage post languages and translation links. It can also read the rest of the site – pages, WooCommerce products, product categories and menus – so the external system can see what the site is about and link to it, and list the whole site’s content in a light inventory, so the external system can keep its own copy in sync. Every request is authenticated with an API key. Each client gets its own key – created on the plugin’s settings page, or obtained by a service through a confirmation screen – and every key can be renamed, reissued or revoked on its own.

Everything works without any external service. Optionally, the settings page has a “Connect to WordsPost” button for the WordsPost content service (https://wordspost.com): it gives WordsPost its own revocable key after you approve it on a confirmation screen, instead of copying the key by hand. Nothing is sent to WordsPost unless you start the connection and press “Allow” – see External services below.

Features

  • Posts: create / read / update / delete / search, with configurable status (including scheduled publishing via date + future), comments, auto excerpt, auto table of contents (from H2/H3 headings), mobile-friendly table wrapping with an optional card layout on narrow screens, and Cyrillic-to-Latin slug transliteration (Russian and Ukrainian)
  • Safe retries: send a request_key with POST /posts or POST /media and a repeated request returns the item created the first time instead of a duplicate, even when two copies arrive at once or the first one was interrupted halfway
  • Media: upload by URL or as inline base64 data, with optional WebP conversion, automatic downscaling of oversized images, a custom filename, alt/title/caption/description, attaching to a post, and lookup by file URL (including generated size variants)
  • Categories & tags: full CRUD, with slug transliteration and find-or-create by name when attaching to a post; with WPML, per-language terms and translation links
  • Site reading (read only): pages and WooCommerce products with their own fields, the visible text of any page – including pages built with Elementor or WPBakery – product categories, menus, the site tagline, and whether search engines are told not to index each item
  • Site inventory: every post of every public type, every term and every menu, thousands per request at a fixed, small database cost – with WPML language and translation group, page builder, WPML duplicate flag, former slugs and a content fingerprint that changes with the text, SEO fields and categories
  • SEO: one set of fields for Rank Math and Yoast SEO (whichever is active) – title, description, focus keyword, canonical, robots, Open Graph, Twitter Card – kept with their template variables (%date%, %%title%%), plus the title and description a search engine actually gets after the templates are applied
  • Faithful writes: text is stored exactly as sent, backslashes included, so block attributes survive a round trip
  • Repairs: raw texts in the inventory, posts looked up by ID (trash included), WPML duplicates turned into ordinary translations, posts restored from the trash into their previous status, terms named by ID and linked into translation groups
  • Safe rewrites: a write that goes through only if the post hasn’t changed since it was read and nobody has it open in the editor, writes without pingbacks, per-field fingerprints in the inventory, and a version of a post in another language made by WPML itself
  • FAQ markup for search engines: per post, on request, FAQPage structured data (JSON-LD) built from the post’s “Frequently asked questions” block every time the page is shown, so it always matches what visitors see; with Rank Math it joins Rank Math’s own structured data
  • Cache flush: one call clears the cached pages of the given posts (or of the whole site) in W3 Total Cache, WP Rocket, LiteSpeed Cache, WP Super Cache or WP Fastest Cache, and in WordPress’s object cache
  • Languages: a /languages endpoint listing what the site speaks; with WPML, post language and translation-group linking via lang / translation_of, a translations map on every post, filters to find posts that still need translating, and a clear 409 instead of a duplicate when a language in the group is already taken; translations keep their original’s slug, change language within their group, and can take the place of a WPML duplicate
  • Keys: a separate API key per client, each revocable on its own, with label, creation date and last use; create one by hand on the settings page (shown once, reissue it if lost), or let a service obtain one through the “Allow” screen
  • Optional connection to WordsPost: a button on the settings page and an approval screen that states exactly what the service will be able to do; disconnect at any time
  • Google Search Console tag on request: WordsPost can ask to put a verification tag on the home page, so it can show you how your articles do in Google search; the tag appears only after a site administrator presses “Allow”, and can be removed at any time
  • Site chat on request: when the site’s owner turns on the WordsPost Dialog chat in the WordsPost panel, the plugin puts the chat widget on the site’s pages, and takes it off again when it is turned off there
  • Redirects: the site’s own list of 301 redirects for old addresses search engines still ask for, filled by WordsPost or by hand on its own admin page (Content Publisher -> Redirects); a redirect works only where the site would otherwise answer “page not found”, so it never hides a live page, and it always leads to the same site
  • Partner program page: the WordsPost partner link and banners sent by a connected WordsPost, with the code and a shortcode to put a banner on the site
  • Rate limiting: a configurable per-key requests-per-minute safety net against a runaway integration (60 by default), reported in X-RateLimit-* headers
  • Activity log: every action the plugin takes, filterable and searchable, kept for 30 days
  • Debug Mode: optional full request/response logging for troubleshooting an integration

The full REST API reference, curl examples and a Postman collection are in the plugin’s docs/ folder (API.md, openapi.yaml, postman_collection.json).

External services

The plugin itself never sends a request to any external service; the only request it makes is to the site’s own home page, when an API caller asks whether the chat widget is shown (see WordsPost Dialog below). These things involve other sites:

Image downloads requested by your API client

When an authenticated API caller passes an address in the url field of POST /media, the file at that address is fetched once with WordPress’s own download_url() and stored in the media library. Which addresses are fetched is entirely up to the site’s own API client; nothing about the site or its visitors is sent. Uploads sent as inline data involve no outgoing request at all.

Cache plugins, when your API client asks for a flush

POST /cache/flush asks the cache plugin installed on the site to clear its cache, through that plugin's own functions. The plugin sends nothing anywhere itself; if the cache plugin is set up to purge a CDN as well, it does so on its own, as it would when you clear the cache from its screen.

WordsPost (optional, only when you connect it)

WordsPost (https://wordspost.com) is a content service that writes and publishes posts to connected sites through this plugin’s API. Connecting it is optional and happens only when a site administrator starts it:

  1. “Connect to WordsPost” on the settings page opens the WordsPost panel (panel.wordspost.com) in your browser, with this site’s address in the link.
  2. WordsPost sends your browser back to a confirmation screen on your own site. Only after you press “Allow” does your browser return to WordsPost carrying a one-time code (valid for 5 minutes), the request’s state value and this site’s address.
  3. WordsPost’s server exchanges that code at this site’s REST API for its own API key. The site answers with the key and basic facts about itself: site name, home address, an installation ID, the REST address, the plugin and WordPress versions, the rate limit and whether the site is multilingual.

From then on WordsPost uses that key to create, edit and delete posts and media, as the confirmation screen states. You can revoke it at any time with “Disconnect” on the settings page. “Cancel” on the confirmation screen sends WordsPost only a refusal.

WordsPost terms of use: https://wordspost.com/terms/
WordsPost privacy policy: https://wordspost.com/privacy-policy/

Google Search Console (optional, only when you allow it)

A connected WordsPost can ask to put a Google Search Console verification tag (<meta name="google-site-verification" content="…">) on the site’s home page. The request appears to administrators in wp-admin; nothing is shown on the site until an administrator presses “Allow”. With the tag, Google confirms WordsPost’s service account as an owner of the site in Google Search Console, so WordsPost can read the search statistics of your articles (clicks, impressions, positions, indexing). Google, not the plugin, fetches the home page to see the tag; the plugin sends nothing to Google or to WordsPost. An owner can also manage the site’s Search Console property, and Google notifies the property’s existing owners when one is added. “Decline” or “Remove” on the settings page takes the tag off; Google then stops treating WordsPost as an owner at its next check.

Google terms of service: https://policies.google.com/terms
Google privacy policy: https://policies.google.com/privacy

WordsPost Dialog chat (optional, only when you turn it on in the WordsPost panel)

A connected WordsPost can put the WordsPost Dialog chat widget on the site’s pages, when the site’s owner turns the chat on in the WordsPost panel. The plugin then adds one script to the footer of every front-end page: https://wpdialog.com/hook/chat/w.js, with the site’s widget key and the page’s language. The address is fixed in the plugin; WordsPost sends only the key. Turning the chat off in the panel takes the script off again.

The widget runs in your visitors’ browsers and talks to wpdialog.com, a WordsPost service. It sends there what a visitor writes in the chat, the language and address of the page they write from, and a conversation token issued by the server (kept in the browser’s localStorage; no cookies); an email address or Telegram name only if the visitor leaves one. As with any web server, wpdialog.com sees the visitor’s IP address and browser (User-Agent), and shows them to the site’s owner with the question. Answers are written by AI models of Anthropic and Google. Nothing is loaded from wpdialog.com while the chat is off.

WordsPost terms of use: https://wordspost.com/terms/
WordsPost privacy policy: https://wordspost.com/privacy-policy/

WordsPost partner program banners (optional, only when you use them)

A connected WordsPost sends the plugin the site owner’s partner link and the program’s banners; the plugin itself requests nothing. The “Partner program” admin page shows the banners’ pictures, which your browser loads from panel.wordspost.com while you have that page open. A banner reaches the site’s pages only where you put the [wordspost_partner_banner] shortcode or its code: then your visitors’ browsers load its picture from panel.wordspost.com, and a click on it opens your partner link on wordspost.com. As with any web server, panel.wordspost.com sees the visitor’s IP address and browser (User-Agent). The plugin counts nothing; WordsPost counts the visits to the partner link.

WordsPost terms of use: https://wordspost.com/terms/
WordsPost privacy policy: https://wordspost.com/privacy-policy/

Written by Joobi from the project's own listing. See the source page

automationmediapublishingrest-apiwpml
27 Nov 2026
Version 3.11.0 released. Not scanned yet.

3.11.0

  • One menu item, Content Publisher, with Settings, Redirects and Partner program under it. The old addresses under Settings lead to the same pages.
  • New Partner program page: the site owner’s WordsPost partner link with a Copy button, the program’s terms, a link to the partner account, and the banners with a preview, their code and a shortcode, [wordspost_partner_banner id=N]. Until WordsPost opens the program for the site, the page says it is coming soon.
  • New GET and PUT /partner, for keys obtained through “Connect to WordsPost”: WordsPost sends the link, the terms and the banners; {"enabled": false} forgets them. Addresses are accepted only on wordspost.com. Feature flag partner. Under content-publisher/v1 only.

3.10.1

  • Fix: on sites with W3 Total Cache’s database cache, updating to 3.10.0 could stop the site with a fatal error while the table of redirects was being created. The table is now created without dbDelta(), and a failure there never stops the site.

3.10.0

  • Redirects: the site’s own list of 301 redirects, at most 5,000. A redirect works only where WordPress would otherwise answer 404, so it never hides a live page, and its target is always on the same site (another domain is refused). Addresses match whatever their letter case, percent-encoding, query string or trailing slash.
  • New admin page Settings -> Redirects: the whole list with hits and last hit, who added each entry (WordsPost or by hand) and when; search, add, turn off and on, remove.
  • New GET, PUT and DELETE /redirects, for keys obtained through “Connect to WordsPost”: PUT {"items": [{"from": "/old/", "to": "/new/"}], "replace": false} adds or updates entries (all or nothing), DELETE {"from": ["/old/"]} removes them. Feature flag redirects. Under content-publisher/v1 only.
  • The list lives in the plugin’s own database table, removed when the plugin is deleted.

3.9.0

  • New GET and PUT /site-chat, for keys obtained through “Connect to WordsPost”: {"enabled": true, "key": "<widget key>"} puts the WordsPost Dialog chat widget (https://wpdialog.com/hook/chat/w.js, address fixed in the plugin) into the footer of every front-end page, with the page’s language; false takes it off. Not on admin screens, REST answers, feeds, embeds or AMP pages. The site’s page cache is flushed when what the pages show changes. GET also tells whether the home page carries the widget right now (printed). Feature flag site_chat.
  • with_text=full on GET /posts and GET /posts/{id}: the page’s whole text, up to 50,000 characters instead of 3,000. Feature flag with_text_full.
  • Under content-publisher/v1 only; existing calls answer as before.

3.8.1

  • Texts only: the long dash in the plugin’s messages, settings screens, translations and documentation is replaced with a plain hyphen. No change to the API.

3.8.0

  • New faq_schema on POST /posts and PUT /posts/{id}: with true, the post’s page carries FAQPage structured data (JSON-LD) built on every view from the div.wm-faq block in its current text – added to Rank Math’s graph when Rank Math is active (not if the post already has a Rank Math FAQ schema), otherwise a script of its own. false switches it off. Stored per post; WPML does not copy it to translations. Returned as faq_schema on posts; feature flag faq_schema on /ping.
  • Under content-publisher/v1 only; existing calls answer as before, apart from the new faq_schema field on posts.

3.7.0

  • New GET/PUT/DELETE /site-verification: a key obtained through “Connect to WordsPost” can ask to put a Google Search Console verification tag on the home page. Administrators see the request in wp-admin and decide with “Allow” or “Decline”; only then is the tag shown – on the home page in every WPML language – and the cached home pages cleared. Feature flag site_verification on /ping.
  • GET /menus no longer fails with a 500 on WPML sites with the language switcher in a menu: the switcher’s own items are left out, the menus are returned.
  • The WordsPost logo on the settings page.
  • Ukrainian, Russian, German and French translations are bundled with the plugin again. A language pack from translate.wordpress.org still takes precedence; the bundled translation fills in only the strings the pack does not have yet.

3.6.3

  • Translations shipped inside the plugin’s own languages/ folder (as in builds handed out outside WordPress.org) are loaded again. A translation in wp-content/languages, such as a language pack from translate.wordpress.org, still takes precedence. No API changes.

3.6.2

  • The API writes only as a post author who cannot administer the site (an Editor, for example). Administrators can no longer be chosen; without a suitable author, writes are refused with 409 wppub_author_not_allowed and the dashboard says so. The settings page and the “Connect to WordsPost” screen can create such an Editor, named as you like (“WordsPost” by default).
  • Translations come from translate.wordpress.org; the plugin no longer bundles or loads its own.

3.6.1

  • The plugin is now called WordsPost Content Publisher (text domain wordspost-content-publisher). Nothing else changes: settings, keys and the REST API stay as they were.

3.6.0

  • if_hash on PUT /posts/{id} and POST /posts/{id}/unduplicate: the write goes through only if the post’s inventory hash is still the one given – otherwise 409 wppub_changed with the current one, nothing written. The comparison and the write happen under a row lock, so of concurrent writes with one if_hash exactly one succeeds.
  • respect_lock: 409 wppub_locked while someone has the post open in the editor.
  • quiet on POST /posts, PUT /posts/{id} and duplicate-to: no pingbacks and no enclosure fetching for that write.
  • field_hashes=1 in the inventory: the MD5 of title, content and excerpt as separate fields.
  • POST /posts/{id}/duplicate-to: a version of the post in another language made by WPML’s own duplication, turned straight into an ordinary translation; the SEO canonical address is not carried over.
  • unfiltered_html in GET /ping and in the inventory’s env: whether texts are stored as sent.
  • PUT /posts/{id} with seo now writes the SEO fields before saving the post, so WPML duplicates get the new title and description along with the new text; if the save fails, they go back to what they were (both base paths).
  • A category or tag of a taxonomy WPML doesn’t translate, or one without a WPML language, is attached as it is instead of being copied into the post’s language (both base paths).
  • A translation whose text is written through the API is marked as edited in WordPress’s own editor, so WPML no longer rebuilds it from its original when the original is saved (posts with blocks or page-builder content; both base paths).
  • What WordPress and WPML finish at the end of a write request – WPML re-saves translations of posts with blocks there – now runs as the plugin’s author, so iframes and scripts in those translations are no longer stripped (both base paths).
  • The featured image, categories and tags of PUT /posts/{id} are written before the post is saved, so WPML duplicates get them right away; they go back to what they were if the save fails (both base paths).
  • All new parameters work under content-publisher/v1 only; responses without them are as in 3.5.0, apart from unfiltered_html.

3.5.0

  • GET /inventory?kind=texts: raw title, content and excerpt by id cursor, up to 500 per page and about 8 MB, at a fixed number of database queries per page, with the same hash as kind=posts.
  • ids= in kind=posts and kind=texts: those posts, trashed ones included, and missing_ids for the ones that no longer exist.
  • An env block in the inventory: WPML, the installation, the post types and taxonomies covered and which of them WPML translates.
  • POST /posts/{id}/unduplicate turns a WPML duplicate into an ordinary translation without changing it; POST /posts/{id}/restore brings a post back from the trash into its previous status.
  • categories and tags accept {"id": N}; PUT of a category or tag accepts translation_of to link it into a translation group.
  • Moving a post to the trash through the API no longer strips iframes and scripts from its content (both base paths).
  • All of this is under content-publisher/v1 only; responses without the new parameters are as in 3.4.0, apart from env on the first page of the inventory.

3.4.0

  • New GET /inventory?kind=posts|terms|menus: the whole site’s content a page of up to 5000 items at a time, by id cursor, at a fixed number of database queries per page – WPML language, translation group and duplicate flag, page builder, former slugs, featured image and a hash fingerprint for posts; language and group for terms and menus; site_time_gmt as the “changed since” marker.
  • Posts carry date_created_gmt and date_modified_gmt.
  • with_seo_rendered=1 adds the SEO title and description as search engines get them (Rank Math, Yoast).
  • Writes keep backslashes (Gutenberg block attributes no longer break) and SEO template variables such as %date%; an automatic excerpt leaves shortcodes out.
  • WPML: a translation keeps its original’s slug instead of getting “-2”; PUT with lang moves a post within its translation group instead of taking it out, answers 409 when the language is taken, and detach: true takes it out; replace_duplicate writes a translation into a WPML duplicate; new categories take a parent, and a second translation into a taken language is a 409.
  • Saving a term no longer moves a term of another language to the default one, and works while its translation shares its slug.
  • New POST /cache/flush.
  • Posts carry source_lang (the language WPML records them as translated from) and translation_jobs (open WPML translation jobs in their group); GET /languages adds wpml_auto_translate (WPML’s automatic translation mode and post types), so an integration can stay out of what WPML translates by itself.
  • All of this is under content-publisher/v1 only (the term fix applies everywhere); without the new parameters responses are the same as in 3.3.1, apart from the two new dates.

3.3.1

  • noindex now reflects only the item itself – its SEO settings, its post type’s default, a status other than published, or being a WooCommerce cart/checkout/account page – and no longer the site-wide “Discourage search engines” setting, which made every item of a site under development look the same. That setting is reported on its own as search_engines_discouraged in GET /ping.

3.3.0

  • Read pages and WooCommerce products: GET /posts?type=page|product and GET /posts/{id}?type=…, with page fields (parent, order, template, front page, posts page) and product fields (categories, SKU, stock, catalog visibility). Writing is still for blog posts only.
  • with_text=1 adds text: the content as a visitor reads it – rendered like the site’s front end (blocks, shortcodes, Elementor, WPBakery), then reduced to plain text of up to 3000 characters. Embeds are not fetched while doing so.
  • modified_after returns only what changed since a given moment.
  • With an explicit type, password-protected items are left out, seo.robots shows the robots rules that actually apply (including Rank Math’s and Yoast’s post type defaults), and a new noindex flag sums them up.
  • New GET /terms?taxonomy=category|post_tag|product_cat with each term’s link, description and parent, and hide_empty.
  • New GET /menus: menus in theme locations and unassigned ones, per WPML language.
  • GET /ping adds tagline, front_page_id, posts_page_id and woocommerce, and five new features.
  • All of this is under content-publisher/v1 only; without the new parameters every response is the same as in 3.2.

3.2.2

  • A “Settings” link in the plugin’s row on the Plugins screen.

3.2.1

  • When a key is revoked (on the settings page or through DELETE /keys/self) while its value is still shown in the “new key” box, the box disappears, so a dead key can’t be copied by mistake. A reissue also removes the old value from other administrators’ boxes.

3.2.0

  • The site-wide primary API key is gone. Every key now belongs to one client: created by hand under “API keys” or obtained through “Connect to WordsPost”. Updating removes the old primary key; anything still using it must switch to a key of its own.
  • A newly created or reissued key is shown in its own box with a Copy button and stays there (for up to 10 minutes) until you press “I have copied it” – it no longer disappears on a second page load or when another plugin hides admin notices.
  • Keys created by hand can be reissued: same label, new value, the old value stops working. Service keys can only be revoked.
  • DELETE /keys/self works for every key (the wppub_primary_key error no longer exists). The primary field of a key description is always false.
  • The “Test Connection” button is removed (it used the primary key). Resetting settings no longer touches API keys.

3.1.1

  • Settings page: API keys are now one table. The primary key is its first row, with icons to show, copy and regenerate it; every other key has icons to rename and revoke it. A service’s key can’t be regenerated from here (the service would never learn the new key) – revoke it and connect again instead.
  • “Connect to WordsPost” moved to a compact line above the keys table; once connected, the service shows up as a row of the table.
  • No API changes.

3.1.0

  • Named API keys: a separate, individually revocable key per client, stored only as a hash; a “Keys” section on the settings page to create (shown once) and revoke them. The primary key works exactly as before.
  • Optional “Connect to WordsPost” button and approval screen (authorization code with PKCE, modelled on core’s Application Passwords flow). The plugin makes no outgoing request; the key is handed over only after “Allow”.
  • New endpoints: GET /connect/info and POST /connect/exchange (public), GET /keys/self and DELETE /keys/self.
  • Rate limit: 60 requests per minute by default (was 20; a value you saved is kept), counted atomically, refused requests no longer count, and X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset headers plus Retry-After on 429.
  • GET /ping also reports rate_limit, key, home_url, install_id and rest_root; new features keys, connect, rate_headers.
  • Deleting the plugin now removes its settings, keys and logs (uninstall).

3.0.0

  • Renamed to Content Publisher (slug content-publisher). New REST address content-publisher/v1; the 2.x address wp-publisher/v1 keeps working throughout 3.x.
  • Activating 3.0.0 takes over the API key and settings of WP Publisher 2.x and deactivates it – the key stays the same.
  • New request_key on POST /posts and POST /media: a repeated request returns the existing item with 200 and the X-WPPUB-Replayed: 1 header instead of creating a duplicate. Concurrent requests with one key are serialized; a retry after an interrupted request finishes the missing steps without a second insert. Lookup via GET /posts?request_key= and GET /media?request_key=.
  • POST /posts with translation_of now answers 409 wppub_translation_exists (with the existing post’s id and link) when the translation group already has a post in that language, instead of creating a second post outside the group.
  • PUT /media/{id} accepts post_id to attach an attachment to a post (0/null detaches it).
  • GET /ping reports features, so a caller can tell what the site’s plugin version supports.
  • Ukrainian translation added.

2.0.0

  • Major version: stable wppub_ prefix for every option, error code, and internal hook, and a stable /wp-publisher/v1 REST namespace. Authorization: Bearer <key> is now the primary way to authenticate (X-WPPUB-Api-Key remains available as an equivalent alternative).
  • This is a new plugin install from WordPress’s point of view (different folder/slug) – see Upgrade Notice.

1.7.0

  • POST /media now accepts a data field – base64-encoded file bytes – as an alternative to url, for images that only exist as bytes with no public link to download from. Mutually exclusive with url. The real file type is read from the file’s own content, never trusted from a claimed mime_type; only JPEG,
28 Oct 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)