POST /openapi/{version}/auth/token/refresh/
This endpoint allows you to refresh your JWT Access Token using a valid refresh token. The refresh token is provided when the original JWT Access Token is generated and is used to obtain a new access token when the current one expires. This allows continued access to the Locad system without requiring the user to reauthenticate.
Token Validity:
access : 24 Hours
Request Example:
Use the following curl command to refresh your JWT Access Token:
curl --location '{{url}}/openapi/v2/auth/token/refresh/' \
--header 'Content-Type: application/json' \
--data '{
"refresh": "{{refresh_token}}"
}''
Replace refresh_token with your valid refresh token. The response will include a new access token that can be used for subsequent API requests.
Upon successful refresh, you will receive a new access token that can be used for authentication in further API calls. The refresh token is also valid for a limited time, after which a new refresh token will need to be obtained.
Request
- Base URLhttps://base_url
- Authnone declared
Path parameters
Request body
Response
Successful Refresh JWT Access Token Response. You will receive a new access token to continue making authorized API requests.
Changes
No recorded changes to this operation across all 1 revision of this API.