Use your Certificate Authority (CA) for a POST call to obtain an Anaplan authentication token.
See Administration: Security Certificates for an overview of this authentication method.
To set your allowlists for API calls, see URL, IP, and allowlist requirements.
Method and endpoint
https://auth.anaplan.com/token/authenticate
Parameters
| Parameter | Description | 
| CA certificate | The CA certificate you have registered with Anaplan. | 
| encoded data | A base-64 encoded, randomly-generated string of at least 100 bytes. | 
| encoded signed data | Your encoded data signed by your private key and base-64 encoded. | 
Curl example
curl -X POST https://auth.anaplan.com/token/authenticate -H 'Authorization: CACertificate {base64-encoded certificate in pem format}' -d '{ "encodedData" : "{encoded data}",  "encodedSignedData" : "{encoded signed data}"} '
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"
   }
}
For more information, see steps 1-5 in our Authentication Service API