Title: WordPress API support
Last modified: August 12, 2026

---

# WordPress API support

 *  Resolved [aegisjester](https://wordpress.org/support/users/aegisjester/)
 * (@aegisjester)
 * [4 weeks ago](https://wordpress.org/support/topic/wordpress-api-support-2/)
 * We have a “headless” wordpress site where we use the wordpress API to import 
   post content into our app, fetching by post ID (e.g. /wp-json/wp/v2/posts/123).
 * I am curious if/how this plugin works with the API. Do the cached translations
   have their own unique post ID, or is there a param we can pass in the json to
   get the translated version of a given post?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gerard Kanters](https://wordpress.org/support/users/gkanters/)
 * (@gkanters)
 * [3 weeks, 6 days ago](https://wordpress.org/support/topic/wordpress-api-support-2/#post-18991944)
 * AI Translate does not create separate posts for translations. Post 123 stays 
   post 123 in every language.
 * Translations are generated from the rendered HTML page and stored as cached HTML
   per language (not as WordPress posts). The WordPress REST API is not translated:`/
   wp-json/wp/v2/posts/123` always returns the original content. There is no query
   parameter to request a translated JSON version.
 * To get a translated version you would fetch the public HTML URL for that language,
   e.g. `https://yoursite.com/de/{translated-slug}/` (same post, language-prefixed
   URL). That response is HTML, not the REST JSON payload.
 * Headless REST translation is not supported at the moment.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-api-support-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/ai-translate/assets/icon-256x256.png?rev=3303182)
 * [AI Translate: Affordable Context-Aware Translation](https://wordpress.org/plugins/ai-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-translate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gerard Kanters](https://wordpress.org/support/users/gkanters/)
 * Last activity: [3 weeks, 6 days ago](https://wordpress.org/support/topic/wordpress-api-support-2/#post-18991944)
 * Status: resolved