No announcement yet.

Change to Login Session Expiry Time (24 to 12 hours) - week commencing 10th May 2021

  • Filter
  • Time
  • Show
Clear All
new posts

  • Change to Login Session Expiry Time (24 to 12 hours) - week commencing 10th May 2021

    From the week commencing 10th May, we'll be making a change to reduce the current default session expiry time from 24 to 12 hours.

    Customers should continue to follow the below best practice when creating new or managing existing login sessions:
    • Logins sessions will last up to 12 hours by default and you should use Keep Alive to extend the session beyond the stated session expiry time.
    • A single session can be used across multiple API calls/threads simultaneously. Please note: you do not & should not make a new log-in request for every API call.
    • You should ensure that you handle the INVALID_SESSION_TOKEN error within your code by creating a new session token via the API login method.
    Betfair Developer Program

  • #2
    Hi Team, I am integrating the Betfair login and keep-alive APIs and need some clarifications. As per the documentation for keep-alive, there is an ambiguity if the session token will expire after 12 hours or 24 hours. I tested the session token and found it working after 12 to 24 hours. I am using the global API endpoints.


    • #3
      Hi ShahidTariq,

      Thanks for pointing our this discrpancy.
      • On the international (.com) Exchange the current session expiry time is 12 hours for all customers (excluding UK & Ireland) and 24 hours for UK & Ireland customers.
      ​We'll update the relevant docs to make this clear.

      Kind Regards