Auth

Verify email OTP code

Validates 6-digit OTP code and returns Firebase custom token for web sign in.

post/v1/auth/email-otp/verify

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/auth/email-otp/verify
  • Auth
    HTTP bearer

Request body

emailstring required
codestring required

6-digit OTP code

Example request

{
  "email": "user@example.com",
  "code": "123456"
}

Response

OTP verified successfully

firebaseCustomTokenstring required
firebaseUidstring required
emailstring required

Changes

No recorded changes to this operation across all 1 revision of this API.