Calling the Authentication API

Obtain New Tokens or Refresh Existing Token

This endpoint will generate a new set of Access/Refresh Tokens.

post/auth/token

Request

  • Base URL
    https://api-int.truckstop.com
  • URL
    https://api-int.truckstop.com/auth/token
  • Auth
    none required

Query parameters

scopestring required

Headers

Authorizationstring required

<br/>Basic base64 encoded clientID:clientSecret<br/><br/><strong>Example:</strong><br/><strong>Client ID:</strong> 123<br/><strong>Client Secret:</strong> ABC<br/><br/>123:ABC base64 encoded = MTIzOkFCQwo=<br/><br/><strong>Resulting header:</strong><br/><span style='color:#282'>Basic MTIzOkFCQwo=</span>

Request body application/x-www-form-urlencoded

OR
OR

Response

200

object required

Changes

No recorded changes to this operation across all 2 revisions of this API.