• Support
  • Pricing
  • Log in
  • Get started
Build
  • Website
  • Ecommerce
  • Gravatar (Link in bio)
  • AI website builder
Publish
  • Blog
  • Newsletter
Hosting
  • Managed hosting
  • Agency hosting
  • Enterprise hosting
  • Site migration
Affiliates
  • Affiliate program
Domains
  • Find a domain
  • Transfer a domain
  • Site profiler (WHOIS)
Email
  • Professional email
Tools & Services
  • Business name generator
  • Logo generator
  • Site profiler (WHOIS)
  • Speed test
  • Hire an expert
  • AI website builder
For Developers
  • Developer tools
  • Developer blog
  • Rest API
  • Docs
  • Studio
Features
  • Themes
  • Plugins
  • Patterns
  • AI features
Discover
  • Latest news
  • Browse blogs

  • Products
  • Resources
  • Support
  • Pricing
  • Build
  • Website
  • Ecommerce
  • Gravatar (Link in bio)
  • AI website builder
  • Publish
  • Blog
  • Newsletter
  • Hosting
  • Managed hosting
  • Agency hosting
  • Enterprise hosting
  • Site migration
  • Affiliates
  • Affiliate program
  • Domains
  • Find a domain
  • Transfer a domain
  • Site profiler (WHOIS)
  • Email
  • Professional email
  • Tools & Services
  • Business name generator
  • Logo generator
  • Site profiler (WHOIS)
  • Speed test
  • Hire an expert
  • AI website builder
  • For Developers
  • Developer tools
  • Developer blog
  • Rest API
  • Docs
  • Studio
  • Features
  • Themes
  • Plugins
  • Patterns
  • AI features
  • Discover
  • Latest news
  • Browse blogs
Get Jetpack app Manage your site on mobile Download
Log in Get started
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Problem at posting using Application Password authentication

Problem at posting using Application Password authentication

  • Unknown's avatar
    molympus · Member · Jul 20, 2026 at 9:49 am
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi, I have the WordPress.com Free Plan. I’m trying to know how to access, and modify post entries. Application Password authentication works.
    GET /posts/6757 returns HTTP 200.
    GET /posts/6757?fields=ID,title,capabilities returns:

    {

      “ID”:6757,

      “title”:”Wayne Pedzwater (bass)”,

      “capabilities”:{

         “publish_post”:false,

         “delete_post”:false,

         “edit_post”:false

      }

    }

    GET /posts/6757?context=edit returns:

    403 User cannot edit post

    POST /posts/6757 returns:

    403 User cannot edit post

    GET /me returns:

    403 authorization_required

    An active access token must be used…

    Does updating a post require OAuth2 instead of Application Password authentication? I’ve tried to know the answer through your IA assistant, but I don’t get a clear answer, so that’s why I ask here, for if you can help me. Thanks a lot in advance

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    benitoalba · Member · Jul 21, 2026 at 8:37 pm
    • Copy link Copy link

    Hi there!

    Yes, requests that modify posts through public-api.wordpress.com require an OAuth2 access token. The Application Password is used only to obtain that token from /oauth2/token, it isn’t sent directly to the posts or /me endpoints.

    The HTTP 200 response doesn’t confirm authentication because published posts can be retrieved without logging in. That’s why the request returns edit_post: false, while context=edit, POST, and /me fail.

    For a personal script, follow the WordPress.com REST API authentication steps to exchange your username and Application Password for an access token. Then include this header with your requests:

    Authorization: Bearer YOUR_ACCESS_TOKEN

    The token must belong to a WordPress.com account that can edit post 6757. If the application will be used by other people, use the full OAuth2 authorization flow instead. Once /me works with the bearer token, you’ll know the request is authenticated and can then check any remaining role or post-permission issue.

  • Unknown's avatar
    molympus · Member · Jul 27, 2026 at 8:09 am
    • Copy link Copy link

    Thanks for all, I finally was able to perform the task I wanted to do, thanks to your explanation. Gracias, Benito!

  • Unknown's avatar
    benitoalba · Member · Jul 27, 2026 at 11:20 pm
    • Copy link Copy link

    Anytime, happy blogging!

Log in or create an account to reply
Log in Create Account

Tags

  • account

About this topic

  • In: Support
  • 2 participants
  • 3 replies
  • Last activity 4 days
  • Latest reply from molympus

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Ecommerce
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions