Auth
Verify OTP

Verify OTP

⚠️

This part of the documentation is still a work in progress.

Verify sent OTP. If user has already registered, then authentication cookies will be set.

Request

POST /auth/verify-otp

Body application/json

ParameterTypeDescriptionRequired?Default
phoneNumberstringYes
otpstringYes

Response

OTP verified.

Body application/json

{
  "userFound": "boolean" // Indicates whether user has already registered or not
}