sessions

POST /api/sessions/google

Exchanges a Google ID token or server authorization code for a session token.

Request

  • Base URL
    https://api.1se.co
  • Auth
    none declared

Headers

X-1se-App-Versionstring
X-1se-App-Buildstring
X-1se-App-Environmentstring
X-1se-App-Bundle-Idstring
X-1se-Ignore-Sandbox-Lifetimestring

Request body

auth_codestring

A Google server authorization code.

id_tokenstring

A Google ID token.

device_idstring required

Device ID.

device_namestring required

Device name.

device_modelstring

Device model identifier (e.g., iPhone16,1)

os_versionstring

OS version (e.g., 18.5)

screen_scalestring

Screen scale factor (e.g., 3)

screen_resolutionstring

Screen resolution (e.g., 1179x2556)

localestring

Device locale (e.g., en_US)

Response

Exchanges a Google ID token or server authorization code for a session token.

Changes

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