Use the Anaplan account user name and password to run a POST call to return an Anaplan authentication token.

If you get a new auth token for every call, your request might fail. Our system works better for API calls if you use a single token for each 35 minute session.

POST

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

ParameterDescription
user:passwordThe Anaplan user name and password

curl -X POST --user {user}:'{password}' https://auth.anaplan.com/token/authenticate

{

   "meta":{

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

   },

   "status":"SUCCESS",

   "statusMessage":"Login successful",

   "tokenInfo":{

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

      "tokenValue":"{token}",

      "expiresAt":1571088565713,

      "refreshTokenId":"ce81e2ee-eec4-11e9-9750-adef4e60446f"

   }

}