Retrieve Bearer token to use
{ "client_id": "8s236ed55a5233443783ff7ffb0d91", "client_secret": "167632e1931219af444cab35d11858ac18ad9f70", "token_type:": "Bearer" }
{ "expires_in": 35999, "access_token": "b8a281906f575c63c79a1d25b72b54ef3a2ecfa0", "token_type": "Bearer" }
Last updated 1 year ago
Create a token with a client_id and client_secret created under Settings - API
const response = await fetch('https://journeys-api.50skills.app/v1/auth/token/', { method: 'POST', headers: {}, }); const data = await response.json();
{ "access_token": "b8a281906f575c63c79a1d25b72b54ef3a2ecfa0", "token_type": "Bearer" }