Magento – Not able to get OAuth token for Magento Rest API Client

apimagento-1.9oauthrest

I am using Magento version 1.9.1.0 and server running on my mac and trying to use Magento Rest APIs using OAuth Integration.
I have a consumer key and consumer secret.

Now, I want to get OAuth token for Rest APIs usage. I have followed this link

In this, we needed oauth_signature and timestamp which we don't get when we create a consumer on admin panel .

Now how can we get OAuth token with only consumer key and consumer
secret ?

Best Answer

You can get OAuth Token by using below details:

URL : https://magento.local/rest/V1/integration/customer/token

Header : Content-Type : application/json

Request Type : POST

  **Params**--->
    {
            "email":"test@test.com",
            "password":"test@123"
    }

You will get customer token.

Related Topic