Hi, how would you use the refresh_token to get a new access_token? I get the request token as part of the response for access_token after providing the auth_code. I am using the Python API for v2. But I don't see any documentation on using refresh_token a

Hi, how would you use the refresh_token to get a new access_token? I get the request token as part of the response for access_token after providing the auth_code. I am using the Python API for v2. But I don’t see any documentation on using refresh_token anywhere. Even some idea on how to use it with cURL is also fine.

Hi shyam,
Please refer the below document for this,
https://workdrive.fyers.in/writer/open/9hud6ff2477886daf436d864d17614b82982b

Any idea why we need the pin for the refresh token? Didn’t need it in the rest of the requests.

I’m getting
“message”: “Please provide valid grant_type”
error though I’ve given grant_type as refresh_token

It would be great if you could add this document to the API docs website