POST
/
api
/
v1
/
auth
/
signup
/
otp
Request OTP for email verification
const url = 'https://api.gnosispay.com/api/v1/auth/signup/otp';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"email":"jsmith@example.com"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "ok": true
}

Body

application/json

Response

200
application/json

OTP was sent successfully

The response is of type object.