To sign-in using the TOKEN API, first submit an HTTP Request with your Service Username and API Key, then receive a Response that includes your JWT access-token, which you will then provide in the Authorization header of each CEQUENS API request you need to submit.
JWT TokenFor the sake of security and maintaining your account and privileges, CEQUENS has developed a Sign-In API to allow you to sign-in to CEQUENS APIs with your credentials: the username and the API Key. Once your Sign-In API request is successful, the API returns an access-token that represents your identity and authorizes you to use any of CEQUENS APIs.
The access-token returned from the Sign-In API has an expiration date set according to your account’s configurations. Once the access token expires, you will need to contact CEQUENS to renew your service subscription, and then submit a new Sign-In API request to get a new access token.
Also, in case your account is renewed or upgraded, you receive a new API key from CEQUENS. Therefore, you will need to sign in again, with your new API key, using the Sign-In API in order to get a new access token.
Note : As long as you have a valid access token then you do not need to call the Sign-In API before using any other services APIs