Exchanges a valid refresh token for a new access token and refresh token pair.
Parameters: Pass the refresh token as the token query parameter.
Requirements: The host must be active.
Expiration: The refresh token becomes usable 30 seconds before the access token expires and is valid for 2 hours from the original login.
Authorization: None. Don't send the expired Direct token as a Bearer header: it is rejected with 401 SC401 before the refresh runs.
- Production Server URLhttps://efx-wgt.stitchcredit.com/api/direct/refresh-token
- Development Server URLhttps://efx-dev.stitchcredit.com/api/direct/refresh-token
curl -i -X GET \
'https://efx-wgt.stitchcredit.com/api/direct/refresh-token?token=string'Response
Refresh Response
{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NTBlODQwMCJ9.abc", "expires": 3600, "refresh": "eyJhbGciOiJIUzI1NiJ9.ref.xyz" }