Refreshing Tokens

This topic provides instructions for refreshing an existing authentication token.

In the REST API, the authorization token is stateless, and it always expires after three hours. However, you can refresh the existing token before it expires. If you refresh the token, the system generates a new token from the existing valid one, so that you will not need to re-authenticate. The same token used previously is not returned.

  • Service URL: /rest/api/v1.3/auth/token
  • Request Method: POST
  • Request Parameters: auth_type=token
  • Request Header: Authorization=<AUTH_TOKEN>
  • Response: { "authToken" : <NEW_AUTH_TOKEN>, "issuedAt" : <TIMESTAMP> , "endPoint" : <ENDPOINT_URI> }