Obtain a Refresh Token

  1. Use the generated Company Request Token as a password.

  2. Replace the following values and run the Password Grant CURL command to obtain an Access Token and Refresh Token.

Copy
curl -X POST 'https://eu2.api.concursolutions.com/oauth2/v0/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=<client_id>' \
--data-urlencode 'client_secret=<client_secret>' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=<company_UUID>' \
--data-urlencode 'password=<request_token>' \
--data-urlencode 'credtype=authtoken'

Note
If the refresh token is not used after a certain period of time, it may expire. If this happens, the authorization process will need to be reinitiated in the client application.