Authentication

Authentication

The API uses a Bearer token for authentication. To get one, we must first make an call to our authentication endpoint with the credentials we get from the Journeys system Client ID and a Client Secret.

When requesting a token, we use a JSON body to authenticate.

The endpoint to use is:

https://journeys-api.50skills.app/v1/auth/token/
{
  "client_id": "8s236ed66a5233443783ff7ffb0d91",
  "client_secret": "167632e0971219af444cab35d11858ac18ad9f70",
  "token_type:": "Bearer"
}  
{
  "expires_in": 35999,
  "access_token": "b8a281906f575c63c79a1d25b72b54ef3a2ecfa0",
  "token_type": "Bearer"
}    

Using the token

After receiving the Token, you are ready to start using the public endpoints available.

Authorization type we use is Bearer where the Token generated earlier is used along with the Prefix Bearer

Last updated