{"id":868,"date":"2026-11-23T16:13:54","date_gmt":"2026-11-23T16:13:54","guid":{"rendered":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/"},"modified":"2026-11-23T16:13:54","modified_gmt":"2026-11-23T16:13:54","slug":"how-to-set-up-wordpress-api-publishing","status":"publish","type":"post","link":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/","title":{"rendered":"How to set up WordPress API publishing step by step"},"content":{"rendered":"<p>To set up WordPress API publishing, first check your REST API is reachable at \/wp-json\/wp\/v2\/. Then create an application password for a user who can publish. Finally, send an authenticated POST request to \/wp-json\/wp\/v2\/posts with a title, content and status. Set status to publish, or draft to review first.<\/p>\n<p>WordPress API publishing is a method of creating and publishing posts on a WordPress site by sending authenticated requests to its REST API, so content goes live without logging in to the dashboard.<\/p>\n<div class=\"key-facts\">\n<p><strong>At a glance<\/strong><\/p>\n<ul>\n<li>Posts are created by sending a POST request to \/wp-json\/wp\/v2\/posts on your site, as set out in the <a href=\"https:\/\/developer.wordpress.org\/rest-api\/reference\/posts\">Posts reference in the REST API Handbook<\/a>.<\/li>\n<li>Application passwords are created in wp-admin on a user profile and let external tools authenticate without using the main login password, according to the <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/security\/application-passwords\">Application Passwords guide in the Advanced Administration Handbook<\/a>.<\/li>\n<li>The REST API sends and receives data as JSON, as the <a href=\"https:\/\/developer.wordpress.org\/rest-api\/?rd=1\">REST API Handbook<\/a> explains.<\/li>\n<li>Tools such as Make, Zapier and n8n can connect to the API without custom code.<\/li>\n<li>Rank Otter publishes researched articles directly to a site on your schedule; the first article is free with no card needed.<\/li>\n<\/ul>\n<\/div>\n<h2>What is WordPress API publishing and when should you use it?<\/h2>\n<p>WordPress API publishing means creating posts through the REST API instead of the dashboard. It suits agencies and scripts, as well as automation tools that publish at volume.<\/p>\n<p>The REST API is a set of web addresses on your site that other software can talk to. Instead of clicking through the editor, a tool sends a short message in JSON (a plain text format for structured data) and WordPress creates the post.<\/p>\n<h3>What you can automate<\/h3>\n<p>Posts are the obvious one, but the same approach handles images, categories, tags and scheduling. You can send a finished article with its featured image, put it in the right category and set it to go live next Tuesday morning.<\/p>\n<h3>Who it suits<\/h3>\n<ul>\n<li>Agencies managing several client sites, where logging in to each dashboard wastes time.<\/li>\n<li>Developers who want content to flow from another system into WordPress.<\/li>\n<li>No-code users who build workflows in tools such as Make, Zapier or n8n.<\/li>\n<\/ul>\n<p>The dashboard is still perfectly fine for a one-off post. If you publish twice a year, a script is more upkeep than it is worth.<\/p>\n<h2>How do you find your WordPress REST API endpoint?<\/h2>\n<p>The base of the WordPress REST API is yourwebsite.com\/wp-json\/wp\/v2\/ and the posts endpoint is \/wp-json\/wp\/v2\/posts. Opening that address in a browser confirms the API is switched on.<\/p>\n<p>Paste yourwebsite.com\/wp-json\/wp\/v2\/posts into your browser. A working site shows a block of JSON text listing your latest published posts. It looks messy, but that is the sign you want. The API is on by default in modern WordPress, so there is usually nothing to enable.<\/p>\n<h3>If you get a 404<\/h3>\n<p>A 404 (page not found) usually has one of two causes:<\/p>\n<ul>\n<li>Permalinks are set to Plain. Go to Settings, Permalinks and pick any other option, then save.<\/li>\n<li>A security plugin or host rule is blocking \/wp-json\/. Check the plugin settings or ask your host.<\/li>\n<\/ul>\n<h3>HTTPS matters<\/h3>\n<p>Application passwords normally need your live site to run on HTTPS. If your site still loads on plain HTTP, fix that first.<\/p>\n<h2>How do you create an application password in WordPress?<\/h2>\n<p>Go to Users, then Profile, scroll to Application Passwords, type a name, click Add and copy the password straight away. WordPress shows it only once.<\/p>\n<figure><img decoding=\"async\" class=\"wp-image-867\" src=\"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-application-password-key-badge.webp\" width=\"1024\" height=\"688\" alt=\"Large orange key tilted across a pale rounded square, with a small blue padlock behind it, suggesting a secure password for\" loading=\"lazy\" srcset=\"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-application-password-key-badge.webp 1024w, https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-application-password-key-badge-300x202.webp 300w, https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-application-password-key-badge-768x516.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>A key and padlock stand for the separate application password that lets a tool publish without your main login.<\/figcaption><\/figure>\n<p>An application password is a separate password made for one tool, so you never hand over your main login. The tool sends your username and this password using Basic Auth (a standard way of sending login details with a request) over HTTPS. The official <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/security\/application-passwords\">application passwords documentation<\/a> covers the details.<\/p>\n<ol>\n<li>Log in to wp-admin as the user who will publish.<\/li>\n<li>Open Users, then Profile.<\/li>\n<li>Scroll to the Application Passwords section.<\/li>\n<li>Enter a name such as &#8220;Publishing script&#8221; and click Add New Application Password.<\/li>\n<li>Copy the password and store it somewhere safe.<\/li>\n<\/ol>\n<h3>Keep access tight<\/h3>\n<p>Create a dedicated user with the Author or Editor role rather than using an administrator. If the credentials ever leak, the damage is limited. Revoke passwords you no longer use and rotate them from time to time, which takes a few seconds from the same profile screen.<\/p>\n<h3>If the option is missing<\/h3>\n<p>The section can disappear when a plugin or host has disabled application passwords, or when the site is not on HTTPS. Check those two things first.<\/p>\n<h2>How do you publish a post with the WordPress REST API?<\/h2>\n<p>Send a POST request to \/wp-json\/wp\/v2\/posts with JSON containing a title and content, plus a status, authenticated with your application password. WordPress replies with the new post ID and link.<\/p>\n<p>Here is a short cURL example with placeholder details:<\/p>\n<p>curl -X POST https:\/\/yourwebsite.com\/wp-json\/wp\/v2\/posts \\<br \/>\n  -u &#8220;username:abcd efgh ijkl mnop qrst uvwx&#8221; \\<br \/>\n  -H &#8220;Content-Type: application\/json&#8221; \\<br \/>\n  -d &#8216;{&#8220;title&#8221;:&#8221;My first API post&#8221;,&#8221;content&#8221;:&#8221;&lt;p&gt;Hello from the API.&lt;\/p&gt;&#8221;,&#8221;status&#8221;:&#8221;draft&#8221;}&#8217;<\/p>\n<h3>Key fields<\/h3>\n<table>\n<thead>\n<tr>\n<th>Field<\/th>\n<th>What it does<\/th>\n<th>Accepted values<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>title<\/td>\n<td>Sets the post title<\/td>\n<td>Text<\/td>\n<\/tr>\n<tr>\n<td>content<\/td>\n<td>Sets the post body<\/td>\n<td>HTML or text<\/td>\n<\/tr>\n<tr>\n<td>excerpt<\/td>\n<td>Sets the short summary<\/td>\n<td>Text<\/td>\n<\/tr>\n<tr>\n<td>status<\/td>\n<td>Controls visibility<\/td>\n<td>publish, draft, future, pending<\/td>\n<\/tr>\n<tr>\n<td>date<\/td>\n<td>Sets the publish date and time<\/td>\n<td>ISO 8601 date, such as 2026-12-01T09:00:00<\/td>\n<\/tr>\n<tr>\n<td>categories<\/td>\n<td>Assigns categories<\/td>\n<td>Array of category IDs<\/td>\n<\/tr>\n<tr>\n<td>tags<\/td>\n<td>Assigns tags<\/td>\n<td>Array of tag IDs<\/td>\n<\/tr>\n<tr>\n<td>featured_media<\/td>\n<td>Sets the featured image<\/td>\n<td>Media ID<\/td>\n<\/tr>\n<tr>\n<td>slug<\/td>\n<td>Sets the URL ending<\/td>\n<td>Lowercase text with hyphens<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Draft, publish or scheduled<\/h3>\n<p>Use draft to review before anything goes live, publish to go live immediately and pending to flag the post for review. To schedule, set status to future and add a date in the future. WordPress then publishes it at that time. See the <a href=\"https:\/\/developer.wordpress.org\/rest-api\/reference\/posts\">Posts reference<\/a> for the full list of fields.<\/p>\n<h3>Adding a featured image<\/h3>\n<p>Upload the image with a POST request to \/wp-json\/wp\/v2\/media, then pass the ID it returns as featured_media when you create the post.<\/p>\n<h3>Confirming it worked<\/h3>\n<p>A successful request returns a 201 response (the code for &#8220;created&#8221;) with the post ID and link in the JSON. Open the link, or check Posts in wp-admin, to see the result.<\/p>\n<h2>How do you set up WordPress API publishing with Make, Zapier or n8n?<\/h2>\n<p>Each of these tools has an HTTP or WordPress module where you enter your site URL and application password with your username. Then map the title, content and status fields.<\/p>\n<p>The flow is much the same in all three:<\/p>\n<ol>\n<li>A trigger starts the workflow, such as a new row in a spreadsheet.<\/li>\n<li>A step generates or fetches the content.<\/li>\n<li>The create post step sends it to WordPress.<\/li>\n<li>An optional step sends you a notification.<\/li>\n<\/ol>\n<p>Leave status on draft until you trust the workflow. Automation makes it easy to push out thin or near-identical pages, and never publish near-identical pages for different towns, because Google treats them as spam.<\/p>\n<p>Compared with a script, no-code tools are quicker to start and easier to change. A script gives you more control, but you carry the upkeep when something changes.<\/p>\n<h2>How do you fix common WordPress API publishing errors?<\/h2>\n<p>The usual causes are a 401 for wrong credentials or blocked authorisation headers, a 403 for missing permissions or a firewall, and a 404 for permalink or route problems.<\/p>\n<table>\n<thead>\n<tr>\n<th>Error<\/th>\n<th>Likely cause<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>401<\/td>\n<td>Wrong username or application password, or the Authorization header is stripped<\/td>\n<td>Re-enter the details with spaces intact and check the header reaches WordPress<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td>The user lacks permission, or a firewall is blocking the request<\/td>\n<td>Use an Author or Editor user and review firewall rules<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>Permalinks set to Plain, or \/wp-json\/ is blocked<\/td>\n<td>Choose another permalink structure and save, then check security settings<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Security plugins and firewalls<\/h3>\n<p>Security plugins, Cloudflare and host firewalls sometimes block API requests from unknown sources. Allow the IP address of your tool or script, or add a rule for \/wp-json\/.<\/p>\n<h3>Stripped Authorization headers<\/h3>\n<p>Some hosting setups remove the Authorization header before WordPress sees it, which causes a 401 even with correct details. Your host can usually change this.<\/p>\n<p>While you are reviewing the site, check your robots.txt isn&#8217;t blocking AI search tools.<\/p>\n<h2>Can you automate SEO publishing without building it yourself?<\/h2>\n<p>Yes. Building the pipeline covers only the publishing step. Rank Otter handles research, writing and direct publishing to your site, with approval or autopilot as you choose.<\/p>\n<p>The hard part is not the API call. It is deciding what to publish, researching it and keeping to a schedule. Every Rank Otter article is researched from the pages already ranking on Google before a word is written. Approve each article, or let them publish automatically.<\/p>\n<p>Here is how it works. Enter your website and we analyse it free in about 30 seconds. Your first article is written free, with no card. You approve a 30-day plan, then articles are researched, written and published on your schedule. See more on our <a href=\"https:\/\/rankotter.ai\/features\">features page<\/a>.<\/p>\n<p>Plans are priced in articles a month, not credits or words:<\/p>\n<ul>\n<li>Growth: \u00a399 + VAT a month for 30 articles and 1 website.<\/li>\n<li>Pro: \u00a3199 + VAT a month for 75 articles and 3 websites.<\/li>\n<li>Agency: \u00a3449 + VAT a month for 200 articles and 10 client websites.<\/li>\n<\/ul>\n<p>There is a 30-day money-back guarantee on your first payment, and you can cancel online in two clicks. Full details are on our <a href=\"https:\/\/rankotter.ai\/pricing\">pricing page<\/a>.<\/p>\n<p>Rank Otter is built by PS Website Design Ltd, a UK web and app agency that has built and looked after websites for UK businesses since 2009. We use it on our own clients&#8217; websites. SEO takes three to six months to build, so publishing regularly matters more than one perfect post.<\/p>\n<p>If you would like to see it on your own site, get in touch with Rank Otter and we will write your first article free.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>How do I get an API key from WordPress?<\/h3>\n<p>WordPress does not use API keys for the REST API. You create an application password on a user profile under Users, Profile, Application Passwords, and use it with your username.<\/p>\n<h3>Do I need a plugin to use the WordPress REST API?<\/h3>\n<p>No plugin is needed, because the WordPress REST API is built into modern WordPress and on by default. You only need a plugin if you want extra features or to manage access.<\/p>\n<h3>Is the WordPress REST API safe to use?<\/h3>\n<p>The WordPress REST API is safe when you use HTTPS, a dedicated user with limited permissions and application passwords you rotate or revoke when no longer needed.<\/p>\n<h3>Can I schedule posts through the API?<\/h3>\n<p>Yes, you can schedule posts through the API by setting status to future and adding a date in the future. WordPress publishes the post at that time.<\/p>\n<h3>Can the API publish to custom post types?<\/h3>\n<p>Custom post types can be published through the API when they are registered with REST support. Each one then has its own endpoint, which you can check in the REST API Handbook or by browsing \/wp-json\/wp\/v2\/.<\/p>\n<h3>Can I publish to several client WordPress sites from one place?<\/h3>\n<p>Yes, because each site has its own endpoint and credentials, a script or automation tool can publish to many sites. Rank Otter&#8217;s Agency plan covers 10 client websites.<\/p>\n<h3>Does API publishing affect SEO?<\/h3>\n<p>The method of publishing does not affect SEO on its own. What matters is the quality and usefulness of the content, so avoid thin or near-identical pages and publish regularly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.<\/p>\n","protected":false},"author":3,"featured_media":866,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[113,37,20,30,112],"class_list":["post-868","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo-automation","tag-application-passwords","tag-automated-publishing","tag-editorial-workflow","tag-wordpress-plugins","tag-wordpress-rest-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to set up WordPress API publishing, step by step<\/title>\n<meta name=\"description\" content=\"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up WordPress API publishing, step by step\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/\" \/>\n<meta property=\"og:site_name\" content=\"Rank Otter Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T16:13:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1344\" \/>\n\t<meta property=\"og:image:height\" content=\"752\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Simon Middleton\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Middleton\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/\"},\"author\":{\"name\":\"Simon Middleton\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/#\\\/schema\\\/person\\\/d57e4085fc7c90e99086b8e924139b33\"},\"headline\":\"How to set up WordPress API publishing step by step\",\"datePublished\":\"2026-11-23T16:13:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/\"},\"wordCount\":1953,\"image\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/wordpress-api-publishing-post-card-into-website.jpg\",\"keywords\":[\"application passwords\",\"Automated Publishing\",\"editorial workflow\",\"WordPress plugins\",\"WordPress REST API\"],\"articleSection\":[\"SEO Automation\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/\",\"url\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/\",\"name\":\"How to set up WordPress API publishing, step by step\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/wordpress-api-publishing-post-card-into-website.jpg\",\"datePublished\":\"2026-11-23T16:13:54+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/#\\\/schema\\\/person\\\/d57e4085fc7c90e99086b8e924139b33\"},\"description\":\"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/wordpress-api-publishing-post-card-into-website.jpg\",\"contentUrl\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/wordpress-api-publishing-post-card-into-website.jpg\",\"width\":1344,\"height\":752,\"caption\":\"A cream page card with blue bars and an orange block slides through a slot into a large green browser window, led by an\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/how-to-set-up-wordpress-api-publishing\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up WordPress API publishing step by step\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/\",\"name\":\"Rank Otter Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/#\\\/schema\\\/person\\\/d57e4085fc7c90e99086b8e924139b33\",\"name\":\"Simon Middleton\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"Simon Middleton\"},\"description\":\"Simon has been designing and building web applications since 2003. He runs PS Website Design, a UK web web and app agency, and built RankOtter to grow the websites of the businesses he works with.\",\"url\":\"https:\\\/\\\/rankotter.ai\\\/blog\\\/author\\\/simon-middleton\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up WordPress API publishing, step by step","description":"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/","og_locale":"en_GB","og_type":"article","og_title":"How to set up WordPress API publishing, step by step","og_description":"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.","og_url":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/","og_site_name":"Rank Otter Blog","article_published_time":"2026-11-23T16:13:54+00:00","og_image":[{"width":1344,"height":752,"url":"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg","type":"image\/jpeg"}],"author":"Simon Middleton","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Simon Middleton","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#article","isPartOf":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/"},"author":{"name":"Simon Middleton","@id":"https:\/\/rankotter.ai\/blog\/#\/schema\/person\/d57e4085fc7c90e99086b8e924139b33"},"headline":"How to set up WordPress API publishing step by step","datePublished":"2026-11-23T16:13:54+00:00","mainEntityOfPage":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/"},"wordCount":1953,"image":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#primaryimage"},"thumbnailUrl":"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg","keywords":["application passwords","Automated Publishing","editorial workflow","WordPress plugins","WordPress REST API"],"articleSection":["SEO Automation"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/","url":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/","name":"How to set up WordPress API publishing, step by step","isPartOf":{"@id":"https:\/\/rankotter.ai\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#primaryimage"},"image":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#primaryimage"},"thumbnailUrl":"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg","datePublished":"2026-11-23T16:13:54+00:00","author":{"@id":"https:\/\/rankotter.ai\/blog\/#\/schema\/person\/d57e4085fc7c90e99086b8e924139b33"},"description":"Learn how to set up WordPress API publishing: find your REST endpoint, create an application password, send a post request and automate it safely.","breadcrumb":{"@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#primaryimage","url":"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg","contentUrl":"https:\/\/rankotter.ai\/blog\/wp-content\/uploads\/2026\/11\/wordpress-api-publishing-post-card-into-website.jpg","width":1344,"height":752,"caption":"A cream page card with blue bars and an orange block slides through a slot into a large green browser window, led by an"},{"@type":"BreadcrumbList","@id":"https:\/\/rankotter.ai\/blog\/how-to-set-up-wordpress-api-publishing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rankotter.ai\/blog\/"},{"@type":"ListItem","position":2,"name":"How to set up WordPress API publishing step by step"}]},{"@type":"WebSite","@id":"https:\/\/rankotter.ai\/blog\/#website","url":"https:\/\/rankotter.ai\/blog\/","name":"Rank Otter Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rankotter.ai\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/rankotter.ai\/blog\/#\/schema\/person\/d57e4085fc7c90e99086b8e924139b33","name":"Simon Middleton","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Simon Middleton"},"description":"Simon has been designing and building web applications since 2003. He runs PS Website Design, a UK web web and app agency, and built RankOtter to grow the websites of the businesses he works with.","url":"https:\/\/rankotter.ai\/blog\/author\/simon-middleton\/"}]}},"_links":{"self":[{"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/comments?post=868"}],"version-history":[{"count":0,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/media\/866"}],"wp:attachment":[{"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/categories?post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rankotter.ai\/blog\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}