• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Unable to use WordPress.com Rest API in postman

Unable to use WordPress.com Rest API in postman

  • Unknown's avatar
    danendrabhatnagar · Member · Jan 12, 2025 at 5:04 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi,

    I am using WordPress cloud website hosted on WordPress.com. i am able to execute the Rest API through the developer console browser(https://developer.wordpress.com/docs/api/console/) but was unable to execute them through postman.
    These are the steps i followed.

    1. Created an application for the WordPress site on the application manager (https://developer.wordpress.com/apps)
    2. Gave same callback url both on postman and the application.
    3. The application manager generated client id (which is a numeric value) , Client secret (alphanumeric value) , redirect url , token url , auth url.
    4. in postman i followed the following steps:
      • Clicked on OAUTH 2.0 and selected the following:
      • Token Name: name for my token.
      • Grant Type: Authorization Code.
      • Auth URL: https://public-api.wordpress.com/oauth2/authorize.
      • Access Token URL: https://public-api.wordpress.com/oauth2/token.
      • Client ID: From my WordPress app.
      • Client Secret: From my WordPress app.
      • Callback URL: Same as the one configured in my app.
      • Client Authentication: Send as basic Auth Header.
    • When i click on Get New Access Token , i was redirected to my website and was able to approve the request , then it redirected me back to the postman where i am getting this error
      Error: invalid_client, Description: The required “client_id” parameter is missing.

    I am providing the client id but it is giving the same error again and again , i tried – clearing previous cookies , created a new application connection , checked the redirect url , still it is giving me the same error.
    Please help me in setting this connection , and update if there’s some another way to connect the API though postman.

    Please Note, I want the solution for the cloud hosted instance i.e., wordpress.com

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

    • The topic ‘Unable to use WordPress.com Rest API in postman’ is closed to new replies.

    Tags

    • account
    • design
    • oauth2.0
    • postman
    • Rest API
    • WordPress
    • wordpress-cloud

    About this topic

    • In: Support
    • 1 participant
    • 0 replies
    • Last activity 11 months
    • Latest reply from danendrabhatnagar

    Couldn't find what you needed?

    Contact us

    Contact us

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

    Browse our guides

    Browse our guides

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

    WordPress.com

    Products
    • WordPress Hosting
    • WordPress for Agencies
    • 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
    • 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