Verify email OTP

Verifies the 4-digit OTP sent to the email and signs in or signs up the user.

Request

This endpoint expects an object.
emailstringRequiredformat: "email"
otpstringRequired

Response

OTP verified and user signed in/up successfully

userobject
sessionobject
isNewUserboolean
Whether this is a new user registration

Errors