Refresh Auth Tokens
The "Refresh Auth Tokens" endpoint allows you to refresh authentication tokens, providing a seamless and secure experience for users. Follow the instructions below to integrate this functionality.
Overview
Request Body
refreshToken
: The refresh token obtained during the initial authentication.
Responses
Success (Code 200)
access
: New access token for authentication.expires
: Expiry date and time for the new access token.refresh
: New refresh token for obtaining the next access token.
Unauthorized (Code 401)
Media Type: application/json
Example Value: An error response indicating unauthorized access.
Internal Server Error (Code 500)
Media Type: application/json
Example Value: An error response indicating an internal server error.
Usage
Send a POST request to the provided endpoint with the refresh token.
Handle the response accordingly based on success or unauthorized access.
Note: Ensure the refresh token (refreshToken
) is valid and has not expired.
Last updated