auth

Renew Session

Swap a signed-in session for a fresh one, so an app in regular use stays signed in.

A session still ends seven days after its last renewal, and a password change still ends it: get_current_user has already refused a token issued before that change. An Apple session keeps its revocable session binding. Only a bearer session renews; an API key is a different credential and is never exchanged for a session token.

Renewal also stops SESSION_MAX_AGE_DAYS after the sign-in that started the chain, so a token taken once cannot be kept alive indefinitely by renewing it; the person signs in again. A token from before the stamp existed is dated from its own issue.

post/auth/renew

Request

  • Base URL: https://api.tickertrac.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.tickertrac.com/auth/renew
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Response

Successful Response

access_tokenstring required
token_typestring
api_keystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.