post

/login/email/request

Starts authentication by the user email address and sends a confirmation code to their email address.

This call is used only with the Complete auth by email call.

The workflow of using this call:

  1. The application opens an authentication form so the user can enter their email address.
  2. The user enters their email address.
  3. The application sends this request to the Xsolla Login server.
  4. The Xsolla Login server sends an email to the user and returns the ID of the confirmation code.
  5. The application shows a field so the user can fill in the confirmation code.
  6. The user enters the received confirmation code.
  7. The application sends the Complete auth by email request with the received ID to the Xsolla Login server.
  8. The user is considered as authorized.

Request Parameters

4 Query Parameters

Request Body

Schema
object
email
string

User email address.

3 validations + required

Responses

OK

Schema
object
operation_id
string

ID of the confirmation code.

required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.