Token

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

To get access to this API, you need the following credentials: client_id, client_secret, username and password. These credentials will be provided to you by Downtown Travel implementation support team.

Access Token is provided according to the Password grant type OAuth 2.0 flow.

Get Token

curl --request POST \
     --url https://sso.sandbox.thebestagent.pro/oauth/token \
     --header 'accept: application/json' \
     --header 'authorization: Basic aG90ZWxzOjFGekg1...==' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data grant_type=password \
     --data username=username \
     --data password=password

Refresh Token

curl --request POST \
     --url https://sso.sandbox.thebestagent.pro/oauth/token \
     --header 'accept: application/json' \
     --header 'authorization: Basic aG90ZWxzOjFGekg1...==' \
     --header 'content-type: application/x-www-form-urlencoded' \
     --data grant_type=refresh_token \
     --data refresh_token=X2wHmMUxzwEYKaelj1h_Bw== \
     --data username=username \
     --data password=password
Form Data
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json