API Expiry Length

27257

In the API registration area there's the token expiry which can be set to 1 month - can someone confirm what 1 month means? 

Is this a literal month in that a key made on the 14th Feb would expire on the 14th March and therefore is valid for 28 days and a key generated in July would be valid for 31 days? Or is actually 4 weeks?

 

Parents
  • Thomson Reuters Thomson Reuters staff member

    HI Ryan McDonough please accept my apologies, I was off sick for a few days.

    Luckily its now March, so we can test!

    {

        "access_token": "REDACT",

        "refresh_token_expires_in": "2628000",

        "expires_in": "2678400",

        "refresh_token": "REDACTED",

        "token_type": "bearer",

        "useremail": "peter.simpson@highq.com"

    }

    2678400 = 31 days , so it responds dynamically depending on what month you are in! .

    I'll update my earlier answer/

Reply
  • Thomson Reuters Thomson Reuters staff member

    HI Ryan McDonough please accept my apologies, I was off sick for a few days.

    Luckily its now March, so we can test!

    {

        "access_token": "REDACT",

        "refresh_token_expires_in": "2628000",

        "expires_in": "2678400",

        "refresh_token": "REDACTED",

        "token_type": "bearer",

        "useremail": "peter.simpson@highq.com"

    }

    2678400 = 31 days , so it responds dynamically depending on what month you are in! .

    I'll update my earlier answer/

Children
No Data