How can I get CST and X-SECURITY-TOKEN parameters?

Have more questions? Submit a request

Before start using API, you should authenticate to create a session.
Authentication:
There are 2 ways to start the session:

  • Using your API key, login and password details;
  • Using your API key, login and encrypted password details.
Login and password details  Login and encrypted password details

Here you should simply use the POST /session endpoint and mention the received in the platform’s Settings API key in the X-CAP-API-KEY header, login and API key password info in the identifier and password parameters. The value of the encryptedPassword parameter should be false.

Upon starting the session you will receive the CST and X-SECURITY-TOKEN parameters in the response headers. Both of these tokens are to be used in the headers of every request you are sending.

Articles in this section

Was this article helpful?
1 out of 1 found this helpful