This generates an OTP; responds with the OTP if in the development environment; but mails the OTP in the production environment.
Request
Body Params application/x-www-form-urlencoded
Request samples
curl --location --request POST 'https://api.sqabl.com/v1/otp' \
--data-urlencode 'email='
Responses
application/json {
"success": true,
"statusCode": 200,
"data": {
"otp": "only-in-dev-environment"
}
}
Modified at 2025-07-23 08:23:47