Auth

Obtain an access token

Exchange credentials for a token pair, or exchange a refresh token for a fresh one. grant_type decides which: 'password' (the default) reads email and password, 'refresh_token' reads refresh_token.

post/api/v1/auth/login

Request

  • Base URL: https://session-replay.com
  • URL: https://session-replay.com/api/v1/auth/login
  • Auth: none declared

Request body

grant_type'password' | 'refresh_token'

Defaults to password

emailstring

Password grant only

passwordstring

Password grant only

namestring

Label for the session being created

refresh_tokenstring

Refresh token grant only

Response

tokens issued

Changes

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