Authentication

Refresh a session token

Exchanges a valid refresh token for a fresh 24h session token. Optionally switch the active company with selectedCompanyId.

post/auth/refresh

Request

  • Base URL: https://saturnsql.com/api
  • URL: https://saturnsql.com/api/auth/refresh
  • Auth: none required

Request body

refreshTokenstring required
selectedCompanyIdstring

Response

New session token

tokenstring
refreshTokenstring
userobject

Changes

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