Authentication

Login or register

Sends an OTP to the email address provided. If the email address is not registered, a new user is created

post/auth/login/send-otp

Request

  • Base URL: https://api.eldorado.io/api
  • URL: https://api.eldorado.io/api/auth/login/send-otp
  • Auth: none required

Headers

X-Client-IDstring required
X-Referral-IDstring required
User-Agentstring

Request body

emailstring email required
language'es' | 'en' | 'pt' | 'es-AR'

Example request

{
  "email": "email@example.com",
  "language": "es"
}

Response

OTP sent successfully

okboolean required
otpIdentifierstring required
action'LOGIN' | 'REGISTER' required

Example response

{
  "ok": true,
  "otpIdentifier": "019fa01a-d010-7514-bf14-5d305815a216",
  "action": "LOGIN"
}

Changes

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