/oauth/token/:

POST     https://api.pinroutes.com/oauth/token

Please set the following header and the request body as empty to get the access token from the endpoint.

Header:


Header Key Header Value
Ocp-Apim-Subscription-Key: xxxxxxxxxxxx
grant_type: 'client_credentials'
client_id: 'xxxxxxxxxxxx'
client_secret: 'xxxxxxxxxxxxxxx'
scope: 'default scope'

The screenshot of how to get the token from postman is given below.