In order to use the v2 Integration API, you must refresh your authentication token every 35 minutes. You can send a POST call to the authentication API to refresh your authentication token.

POST

https://auth.anaplan.com/token/refresh

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.

curl -X POST -H authorization:'AnaplanAuthToken {token}' https://auth.anaplan.com/token/refresh

{

   "meta":{

      "validationUrl":"https://auth.anaplan.com/token/validate"

   },

   "status":"SUCCESS",

   "statusMessage":"Token refreshed",

   "tokenInfo":{

      "tokenId":"ce81e2ed-eec4-11e9-9750-6925ec1fee7f",

      "tokenValue":"{token}",

      "expiresAt":1571088766187,

      "refreshTokenId":"45ffca7c-eec5-11e9-a51d-1bd448913ef3"

   }

}