post
https://sso.sandbox.thebestagent.pro/oauth/token
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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=passwordRefresh 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
