Skip to main content
POST
/
api
/
v1
/
auth
/
signup
/
otp
Request OTP for email verification
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({email: 'jsmith@example.com'})
};

fetch('https://api.valox.co/api/v1/auth/signup/otp', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ok": true
}

Body

application/json
email
string<email>
required

Email address to send the OTP to

Response

OTP was sent successfully

ok
boolean
required

Indicates if the OTP was sent successfully

Example:

true