Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://olp-api.nipuntheekshana.com/v1/auth/refresh \ --header 'Content-Type: application/json' \ --data ' { "refreshToken": "<string>" } '
Exchange a refresh token for a new access token and refresh token pair
{ "refreshToken": "rt_def456..." }
{ "token": "eyJhbGciOiJIUzI1NiIs...", "refreshToken": "rt_ghi789..." }
{ "error": { "code": "UNAUTHORIZED", "message": "Refresh token is invalid or expired" } }