Passwordless Login - Initialize

POST {{url}}{{site}}/services/auth/headless/init/passwordless/login

Submits the passwordless login data to the init/passwordless/login endpoint and returns a request identifier. At the same time, an OTP is sent out to the end users via email or sms. Passwordless login data is passed in the request body, and is formatted with JSON, with 3 keys: username, recaptcha, and verificationmethod. All 3 keys are strings.

This request returns JSON, and includes an identifier (request identifier).

Request Body

{"username"=>"<username>", "recaptcha"=>"<recaptcha-token>", "verificationmethod"=>"email or sms"}