Authorization TOKEN
-
Hi, when I call this API https://apiconnect.angelbroking.com/rest/secure/angelbroking/user/v1/getProfile, I am getting invalid token. Please confirm what has to be passed here 'Authorization': 'Bearer AUTHORIZATION_TOKEN' . Is it JWT token , refresh token or feed token. Please confirm at the earliest. I think you have to make it clear on the API documentation
-
Apologies for delayed response.
AUTHORIZATION_TOKEN expires on daily basis, we require the user to login everyday and pass the new retrieved token in order to consume the SmartAPIThanks & Regards,
SmartAPI team -
@Kranthi @admin Actually in the document there is no clear topic about authentication and what is the expiration time of those tokens. Just like you I have generated auth_token and refresh token but getProfile API says invalid token.
I added our token to jwt.io site to check its expiration time and it show the 3 year of expiration of auth_token and no expiration for refresh_token