Forum Discussion

SteveWellauer1's avatar
SteveWellauer1
Qrew Trainee
2 years ago
Solved

Using the RESTful Quickbase API inside a code page without a Auth Token

I am building a code page that will be connected to a button that a user will click in an app. I am trying to get away from using the Quickbase client that uses the old XML API (var qdb = new QuickBas...
  • NeilSchneider's avatar
    2 years ago
    You do need to use a token, but the RESTful API has a mechanism for generating a token specific to the users login.   This allows you to have a single token that is used by all users on startup, and then generate a token specific to the user and table.  This has two advantages:
    1) Updates to the DB are assigned to the specific user
    2) The rate limits for API calls are based on the individual user.
    There is additional overhead for the code.  The generated token is for the individual table and the user, and it expires every 5 minutes.  So you have to refresh the tokens every 5 minutes.  
    The instructions are here:
    https://developer.quickbase.com/operation/getTempTokenDBID

    ------------------------------
    Neil Schneider
    ------------------------------