Unable to use WordPress.com Rest API in postman
-
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.- Created an application for the WordPress site on the application manager (https://developer.wordpress.com/apps)
- Gave same callback url both on postman and the application.
- The application manager generated client id (which is a numeric value) , Client secret (alphanumeric value) , redirect url , token url , auth url.
- 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.