Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    token's validity period

    General Discussion
    4
    10
    166
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pavank last edited by

      @admin for how long feed token, jwt token and refresh token are valid??

      also is there any limit on how may instruments we can subscribe through WebSocket at once??

      S A 2 Replies Last reply Reply Quote 0
      • S
        Surya 1 @pavank last edited by

        @pavank

        @pavank said in token's validity period:

        for how long feed token, jwt token and refresh token are valid??

        I exactly don't know the answer.. but I generate it at 9 AM and I have used it till the session ends..

        @pavank said in token's validity period:

        also is there any limit on how may instruments we can subscribe through WebSocket at once??

        You can also subscribe 2000 scrips..

        1 Reply Last reply Reply Quote 0
        • A
          admin @pavank last edited by

          Hi @pavank said in token's validity period:

          there any limit on how may instruments we can subscribe through WebSocket at once??
          No there is no limit to subscribe tokens.

          1 Reply Last reply Reply Quote 0
          • A
            admin last edited by

            Hi @pavank we flush our tokens on subsequent day at 5 am.

            S 1 Reply Last reply Reply Quote 0
            • S
              Surya 1 @admin last edited by

              @admin

              @admin said in token's validity period:

              we flush our tokens on subsequent day at 5 am.

              so if I make tokens this morning 9 AM its valid until tomorrow morning 5 AM ?

              K 1 Reply Last reply Reply Quote 0
              • K
                krunal96 @Surya 1 last edited by

                Hi @rajanprabu ,

                Yes, I guess so.
                Token gets flushed every day in the morning (most brokers have implemented the same). Check out the similar post for zerodha/kite forum.

                https://kite.trade/forum/discussion/3866/access-token-invalidated-within-24-hours

                S 1 Reply Last reply Reply Quote 0
                • S
                  Surya 1 @krunal96 last edited by

                  @vishant

                  Thanks. Im aware of what other service providers are offering. I want to get it confirmed from the Angel team.

                  Angel token was expiring in 2 1/2 hours during initial days of the API launch. After there request it was extended until evening. I do hope that now it expires everyday morning. This would be more convenient.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    admin @Surya 1 last edited by

                    @rajanprabu said in token's validity period:

                    I want to get it confirmed from the Angel team

                    Yes. it's flushed next morning at 5 am.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Surya 1 @admin last edited by

                      @admin Thanks. Appreciate it.

                      1 Reply Last reply Reply Quote 0
                      • I
                        Ikhlaque last edited by

                        @admin we are login using smartapi (userID, Password, TOTP). For a day it is working fine, but next day we are generating refresh token using previously login accessToken then it is not working API connection going failed. Please help when we can call refresh token to avoid stop API call. I don't want login everyday it should happen using api like KITE API.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post