Navigation

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

    TOTP Integration

    General Discussion
    0
    3
    12
    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.
    • S
      sumanth last edited by

      Hi @admin

      TOTP gets expire after 30 seconds. Is there a way to get TOTP programmatically? Right now, I'm entering TOTP manually to see if API is working, but it throws Invalid TOTP if I try same API after 30 seconds. It doesn't make sense to enter TOTP after every 30 seconds to use SmartAPI. Please describe here if there is any way to read TOTP automatically.

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @sumanth last edited by

        Hi @sumanth,

        Apologies for delayed response.
        TOTP has be entered for only once while login to retrieve the Smart API Authorization token in order to consume our APIs.

        Thanks & Regards,
        SmartAPI team

        1 Reply Last reply Reply Quote 0
        • S
          sen last edited by

          You are not supposed to enter TOTP. You are supposed to enter the QR code received during TOTP registration.

          If you are using python/dot net, or any other language, they have their OTP nugets, where you can pass your QR and it generates the OTP.

          Plesae let me the language you are using for integration for further help.

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