1. Data integration
  2. Anaplan API
  3. Integration API v2.0
  4. Use the bulk APIs
  5. Obtain an authentication token
  6. Use basic authentication

Use the Anaplan account username and password to run a POST call that returns the Anaplan authentication token.

Method and endpoint

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

POST

Parameters

ParameterDescription
user:passwordThe Anaplan user name and password

Curl example

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

Response

{

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

   }

}

Disclaimer

We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.