post https://apim-caas-api-stg.azure-api.net/auth/token
What does this endpoint do?
After obtaining your credentials ("client_id" and "client_secret")—if you haven't done so already, please refer to the Getting Started page—you will need to retrieve a JWT to access the BaaSiC API. This endpoint is specifically designed for that purpose. Once you have your credentials, fill in the required body parameters and send a request.
You should receive a JWT in response. Ensure that you prepend the "Bearer" prefix to the token before each request. In other words, the format should be "Bearer + token". Here is an example:
Bearer eyJhbGciOiJIUzI1NiJ9.eyJSb2xlfakeQWRtaW4iLCJJc3N1ZXIiOiJJc3N1ZXIiLCJVc2VybmFtZSI6IkphdmFJblVzZSIsImV4cCI6MTcyNjAwMTM0OCwiaWF0IjoxNzI2MDAxMzQ4fQ.jug4OrQxLQocpk6BfakeXWx8bBAIBz3rZK-4CZ_N_gg.