Email Login

Verify the OTP and return {token, user}.

Existing-account only — unknown emails get the generic "no pending code" error so the endpoint can't be enumerated. Inactivated accounts are also rejected here (the activation flow is still the only way to flip is_active=1).

post/api/auth/email/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/email/login
  • Auth: none declared

Request body

emailstring required
codestring required

Response

Successful Response

object required

Changes

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