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.

Method and endpoint

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

POST

Parameters

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

Curl example

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

Response

{

   "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"

   }

}

Disclaimer

We update Anapedia regularly to provide the most up-to-date instructions.