public

Sign in with a verification code

Signs in with an email verification code and sets the Better Auth session cookie on success (new users are registered automatically).

post/verify-code-login

Request

  • Base URL: https://api.mailly.site (the document declares no server; this is the origin it was published from)
  • URL: https://api.mailly.site/verify-code-login
  • Auth: none required

Request body

emailstring required

Sign-in email

codestring required

Verification code

Response

Signed in (session set via Set-Cookie)

successboolean required
messagestring required

Changes

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