error while calling holdings with Curl for API V3

gautam_s60
gautam_s60 edited January 2018 in General
@sujith @Kailash
I am getting error while calling holdings.
my CURL : https://api.kite.trade/portfolio/holdings?api_key=xxxx&access_token=yyyy
please check and suggest correction::

{"status": "error", "message": "That API call is not allowed for the authenticated user", "error_type": "PermissionException"}
Tagged:
  • tonystark
    @gautam_s60 You are not using v3 APIs. For proper usage please read the documentation here.
  • gautam_s60
    Pls suggest url for v3. I am not professional coder :'(
  • tonystark
    tonystark edited January 2018
    @gautam_s60 There is no URL change in v3. Instead of giving API key and access token in URL it has changed to an HTTP header. Please refer the documentation link I posted above.

    Also, I would suggest you find more time to learn about HTTP APIs and programming concepts. Python would be a great start. And most importantly read the documentation. All the best. :smile:
Sign In or Register to comment.