Skip to main content
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":"[email protected]"}'
};

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
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