Skip to main content

Authorization

Login#

  • Url: https://velo-europe.de/oauth/v2/token
  • Method: POST
  • Content-Type: application/json

Request body#

  • client_id - string - required
  • client_secret - string - required
  • grant_type - string - required
    • available values
      • password
      • refresh_token
  • username - string - required
  • password - string - required

Response body#

{
"access_token": "ZGI1MzhjMGI1ZDNhMTdmZDYzOGJjMzZkN2ZjZjkyMzJjMmUyNzRhNjdkZjI2NGQwNjViOTJlMjBlM2NkNWYyZA",
"expires_in": 3600,
"token_type": "bearer",
"scope": "user",
"refresh_token": "YTEyODA2NzZlZGIzYWQyZWJlMThlY2EwZWJiNzVlZjM1NTVlOTk3MDJlM2FlMGIwZjAyM2I3ODBkMzEyODczNw"
}

Example request#

curl --location --request POST 'https://velo-europe.de/oauth/v2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "client_id",
"client_secret": "client_secret",
"grant_type": "password",
"username": "mm@blue-focus.com",
"password": "pwd"
}'

Refresh token#

  • Url: https://velo-europe.de/oauth/v2/token
  • Method: POST
  • Content-Type: application/json

Request body#

  • client_id - string - required
  • client_secret - string - required
  • grant_type - string - required
    • available values
      • password
      • refresh_token
  • refresh_token - string - required

Response body#

{
"access_token": "YWJjNjcxNWQwMTE0YzNjZTQ3NDhiNjUxZWQxOWYyZTFhNDdmNjhjOTA4ODFlZWE1ZTQwNDFkODhjOGViOGFjOA",
"expires_in": 3600,
"token_type": "bearer",
"scope": "user",
"refresh_token": "MGQ2MjE3NzlmYTMxYzZlMjNkYzdhZTRiNmYwYjI2MWY0NGU1YmE1ZTlkNWU3MmJmZTlhMGIwYWI3NjU4NDRjZg"
}

Example request#

curl --location --request POST 'https://velo-europe.de/oauth/v2/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"client_id": "client_id",
"client_secret": "client_secret",
"grant_type": "refresh_token",
"refresh_token": "ODlhYWUzNWU5M2E2ZGUzOWFlOTlhODM0NDZhM2FmNDE3ZWNiZDNjNTQ0ZDFlY2NhNDAzNTI3NDNmMzdkN2VkMA"
}'