data.codeAlreadySent: true. Keep waiting for the user. Only if the user says the email never arrived (after checking spam), call again with "resend": true; the same code is emailed again, at most once a minute.curl --location 'https://connect.litehost.io/v1/auth/otp/request' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "you@example.com",
"resend": false
}'{
"status": "success",
"message": "Verification code sent. Check your email.",
"nextStep": "Ask the user for the 6-digit code from the Litehost email (check spam), then call POST /v1/auth/otp/verify. Do not call this endpoint again while waiting for the user.",
"data": {
"sent": true,
"resent": true,
"codeAlreadySent": true,
"expiresAt": "2019-08-24T14:15:22.123Z",
"resendAvailableInSeconds": 0
}
}