API Update (21/07/23)

As of writing OpenAI have moved from API tokens to session tokens (with no warning). The app still works but you now need to provide a session token.

Edit: Session tokens seem to last 2 weeks (14 days).

Getting a token (Chrome)

  • Login and visit
  • Inspect page
  • Open the inspector to the Network tab
  • Set filter to "usage" and find a "fetch" entry
  • Refresh the page if you see no entries
  • In the requests header find 'Authorization'
  • Line should read:
    Authorization: Bearer <session-token>
  • The session key begins with 'sess-'
  • Currently I am unsure of how long the session lasts
  • I'll see what can be done to incorporate this into the app / simplify the process