Sms Login

Verify the OTP and return {token, user}.

First successful verify for a phone number that has never been seen creates a new user row (phone-only signup). Subsequent verifies for that same number return the existing user.

post/api/auth/sms/login

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/auth/sms/login
  • Auth: none declared

Request body

phonestring required
codestring required
languagestring

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 19 revisions of this API.